feat: add database initialization retry logic and enhance auth logging
This commit is contained in:
@@ -14,6 +14,11 @@ services:
|
||||
- DB_CLIENT=sqlite
|
||||
# SQLite path (used when DB_CLIENT=sqlite)
|
||||
- DB_PATH=/data/collabtable.db
|
||||
# Retry DB initialization instead of crashing immediately on startup races
|
||||
- DB_INIT_RETRY_INTERVAL_MS=5000
|
||||
- DB_INIT_RETRY_MAX_ATTEMPTS=0
|
||||
# Clamp future client timestamps during sync to avoid resend loops
|
||||
- SYNC_MAX_FUTURE_SKEW_MS=0
|
||||
# PostgreSQL (used when DB_CLIENT=postgres) - choose either DATABASE_URL or the PG* vars
|
||||
# - DATABASE_URL=postgres://user:password@postgres:5432/collabtable
|
||||
# - PGHOST=postgres
|
||||
|
||||
Reference in New Issue
Block a user