Files
CollabTable/CollabTableServer/.env.example
T
Gabriel20xx 14a7348632
Build & Push Docker Image / Docker Build & Push (push) Successful in 1m32s
Lint / Lint (push) Successful in 11s
Tests / Test (push) Successful in 9s
feat: update Docker setup and documentation for PostgreSQL integration
2026-08-01 19:53:32 +02:00

29 lines
1.1 KiB
Bash

#################################################################
# 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