2025-10-25 17:02:42 +02:00
|
|
|
#################################################################
|
|
|
|
|
# Server
|
|
|
|
|
#################################################################
|
2025-10-24 20:27:18 +02:00
|
|
|
PORT=3000
|
|
|
|
|
NODE_ENV=production
|
|
|
|
|
SERVER_PASSWORD=your_secure_password_here
|
2025-10-25 17:02:42 +02:00
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
# Database backend selection
|
|
|
|
|
# - sqlite (default if not set)
|
|
|
|
|
# - postgres
|
|
|
|
|
#################################################################
|
|
|
|
|
# Choose the DB client; if omitted or not set to "postgres", SQLite is used
|
|
|
|
|
DB_CLIENT=sqlite
|
|
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
# SQLite configuration (used when DB_CLIENT=sqlite)
|
|
|
|
|
#################################################################
|
|
|
|
|
# Path to the SQLite database file. Default in code: ./data/collabtable.db
|
|
|
|
|
# For Docker, you may prefer a volume path like /data/collabtable.db
|
|
|
|
|
DB_PATH=/data/collabtable.db
|
|
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
# PostgreSQL configuration (used when DB_CLIENT=postgres)
|
|
|
|
|
# You can either provide a single DATABASE_URL or the PG* variables below
|
|
|
|
|
#################################################################
|
|
|
|
|
# Example URL: postgres://user:password@localhost:5432/collabtable
|
|
|
|
|
DATABASE_URL=
|
|
|
|
|
|
|
|
|
|
# If DATABASE_URL is not set, these individual settings are used:
|
|
|
|
|
PGHOST=localhost
|
|
|
|
|
PGPORT=5432
|
|
|
|
|
PGUSER=postgres
|
|
|
|
|
PGPASSWORD=
|
|
|
|
|
PGDATABASE=collabtable
|