部署docker化
This commit is contained in:
26
deploy/.env.production.example
Normal file
26
deploy/.env.production.example
Normal file
@@ -0,0 +1,26 @@
|
||||
# Frontend
|
||||
FRONTEND_PORT=8080
|
||||
CONDO_API_BASE_URL=/api
|
||||
CONDO_DEFAULT_MODE=api
|
||||
CONDO_PERIOD_YEAR=
|
||||
|
||||
# Backend
|
||||
NODE_ENV=production
|
||||
LOG_LEVEL=info
|
||||
CORS_ORIGINS=http://localhost:8080
|
||||
AUTH_USERNAME=wyndhamcondon
|
||||
AUTH_PASSWORD=replace-with-test-password
|
||||
AUTH_SESSION_TTL_HOURS=12
|
||||
|
||||
# Set true only when the public frontend is served over HTTPS.
|
||||
AUTH_COOKIE_SECURE=false
|
||||
|
||||
# Existing PostgreSQL. DB_HOST must be reachable from inside the backend container.
|
||||
DB_HOST=replace-with-existing-pg-host
|
||||
DB_PORT=5432
|
||||
DB_USER=replace-with-existing-pg-user
|
||||
DB_PASSWORD=replace-with-existing-pg-password
|
||||
DB_NAME=booking_test
|
||||
DB_SSL=false
|
||||
DB_POOL_MAX=10
|
||||
DB_STATEMENT_TIMEOUT_MS=15000
|
||||
Reference in New Issue
Block a user