-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (23 loc) · 910 Bytes
/
.env.example
File metadata and controls
27 lines (23 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Application Configuration
NODE_ENV=development
PORT=3000
# Docker Configuration (for production, set these)
DOCKER_COMMAND=npm run dev
RESTART_POLICY=no
# Database Configuration
POSTGRES_USER=ticketing_user
POSTGRES_PASSWORD=ticketing_pass
POSTGRES_DB=ticketing_db
DB_PORT=5432
DATABASE_URL=postgres://ticketing_user:ticketing_pass@db:5432/ticketing_db
# Session Security
# IMPORTANT: Generate a secure random string for production!
# Generate with: openssl rand -base64 32
SESSION_SECRET=your-super-secret-session-key-change-in-production-minimum-32-characters
# Production Settings (uncomment and configure for production)
# NODE_ENV=production
# DOCKER_COMMAND=npm start
# RESTART_POLICY=unless-stopped
# POSTGRES_PASSWORD=CHANGE_THIS_STRONG_PASSWORD_NOW
# SESSION_SECRET=CHANGE_THIS_TO_A_RANDOM_STRING_MINIMUM_32_CHARACTERS
# DATABASE_URL=postgres://ticketing_user:YOUR_PASSWORD@db:5432/ticketing_db