-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker
More file actions
21 lines (15 loc) · 1005 Bytes
/
Copy path.env.docker
File metadata and controls
21 lines (15 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Docker Environment Configuration
# Copy this file to .env and fill in your values before running docker-compose
# CRITICAL: Generate secure secrets with this command:
# node -e "const crypto = require('crypto'); console.log('JWT_SECRET=' + crypto.randomBytes(32).toString('hex')); console.log('SESSION_SECRET=' + crypto.randomBytes(32).toString('hex')); console.log('ENCRYPTION_KEY=' + crypto.randomBytes(32).toString('hex'));"
# JWT Authentication Secret (64 hex characters)
JWT_SECRET=CHANGE_ME_GENERATE_WITH_COMMAND_ABOVE
# Session Secret (64 hex characters)
SESSION_SECRET=CHANGE_ME_GENERATE_WITH_COMMAND_ABOVE
# Encryption Key for stored credentials (64 hex characters)
# WARNING: Never change this after initial setup or you won't be able to decrypt existing credentials!
ENCRYPTION_KEY=CHANGE_ME_GENERATE_WITH_COMMAND_ABOVE
# CORS Origin (the frontend URL that can access this API)
CORS_ORIGIN=http://localhost:3000
# Set to true in production with proper SSL/TLS setup
REQUIRE_HTTPS=false