update
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Production environment example — copy to .env.prod and edit:
|
||||
# cp .env.prod.example .env.prod
|
||||
|
||||
# Must match the URL you open in the browser (scheme + host + port).
|
||||
# HTTP direct (Docker port 3009):
|
||||
CLIENT_ORIGIN=http://localhost:3009
|
||||
# HTTPS behind reverse proxy:
|
||||
# CLIENT_ORIGIN=https://casegambling.example.com
|
||||
|
||||
# Extra allowed origins (comma-separated), optional
|
||||
# CORS_ORIGINS=http://192.168.1.10:3009
|
||||
|
||||
# Session secret — use a long random string in real prod
|
||||
SESSION_SECRET=change-me-to-a-long-random-secret
|
||||
|
||||
# Admin panel login (required — created/updated on every container start)
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=change-me-strong-password
|
||||
|
||||
# Starting balances for new accounts (credits in cents, osu as units)
|
||||
STARTING_BALANCE=10000
|
||||
STARTING_OSU=100
|
||||
|
||||
# Jackpot
|
||||
JACKPOT_ROUND_SECONDS=30
|
||||
JACKPOT_MAX_ITEMS=3
|
||||
|
||||
# Cookie Secure:
|
||||
# false / auto → OK for plain HTTP (:3009)
|
||||
# true → only with HTTPS (otherwise login cookie is dropped by the browser)
|
||||
COOKIE_SECURE=false
|
||||
|
||||
# Trust X-Forwarded-* (only behind nginx/caddy/traefik)
|
||||
TRUST_PROXY=false
|
||||
|
||||
# Host port mapped in docker-compose
|
||||
HOST_PORT=3009
|
||||
Reference in New Issue
Block a user