2025-10-25 17:02:42 +02:00
|
|
|
#################################################################
|
|
|
|
|
# Server
|
|
|
|
|
#################################################################
|
2025-10-24 20:27:18 +02:00
|
|
|
PORT=3000
|
|
|
|
|
NODE_ENV=production
|
2026-08-01 12:51:02 +02:00
|
|
|
|
|
|
|
|
# Set to "true" once served over HTTPS - marks the admin session cookie Secure.
|
|
|
|
|
COOKIE_SECURE=false
|
2025-10-25 17:02:42 +02:00
|
|
|
|
|
|
|
|
#################################################################
|
2026-08-01 12:51:02 +02:00
|
|
|
# PostgreSQL configuration
|
2025-10-25 17:02:42 +02:00
|
|
|
#################################################################
|
2026-08-01 19:53:32 +02:00
|
|
|
# Postgres connection string (bring your own - this app does not run Postgres for you).
|
|
|
|
|
# Example: postgres://user:password@localhost:5432/collabtable
|
2025-10-25 17:02:42 +02:00
|
|
|
DATABASE_URL=
|
|
|
|
|
|
2026-06-03 17:09:31 +02:00
|
|
|
#################################################################
|
2026-08-01 12:51:02 +02:00
|
|
|
# Startup resilience and sync tuning
|
2026-06-03 17:09:31 +02:00
|
|
|
#################################################################
|
|
|
|
|
# DB init retry interval in milliseconds (default: 5000)
|
|
|
|
|
DB_INIT_RETRY_INTERVAL_MS=5000
|
|
|
|
|
|
|
|
|
|
# Max DB init retry attempts. 0 means retry forever (default: 0)
|
|
|
|
|
DB_INIT_RETRY_MAX_ATTEMPTS=0
|
|
|
|
|
|
|
|
|
|
# Allow at most this much client clock skew into sync timestamps (default: 0)
|
|
|
|
|
# Keep this at 0 to prevent future-dated rows from being re-sent in hot loops.
|
|
|
|
|
SYNC_MAX_FUTURE_SKEW_MS=0
|