Files
CollabTable/CollabTableServer/.env.example
T

28 lines
1.1 KiB
Bash
Raw Normal View History

#################################################################
# Server
#################################################################
PORT=3000
NODE_ENV=production
# Set to "true" once served over HTTPS - marks the admin session cookie Secure.
COOKIE_SECURE=false
#################################################################
# PostgreSQL configuration
#################################################################
# Postgres connection string (bring your own - this app does not run Postgres for you).
# Example: postgres://user:password@localhost:5432/collabtable
DATABASE_URL=
#################################################################
# Startup resilience and sync tuning
#################################################################
# 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