deadhead-space-freight-tycoon/deploy/.env.example

29 lines
910 B
Plaintext

# Production settings for deploy/compose.yml. Copy to deploy/.env and fill in.
# The public address players use; sign-in only accepts requests from it.
PUBLIC_URL=https://deadhead.belowland.com
# What Caddy serves: the domain alone gets HTTPS from Let's Encrypt (ports 80
# and 443 must reach this machine). Use :80 for plain HTTP on a LAN.
SITE_ADDRESS=deadhead.belowland.com
# Host ports Caddy listens on.
HTTP_PORT=80
HTTPS_PORT=443
# Postgres (only reachable inside the stack).
POSTGRES_USER=deadhead
POSTGRES_DB=deadhead
# Generate with: openssl rand -base64 24
POSTGRES_PASSWORD=
# At least 32 random characters. Generate with: openssl rand -base64 32
BETTER_AUTH_SECRET=
LOG_LEVEL=info
# Nightly database backups: a folder on this machine, e.g. a NAS share mounted
# here. Dumps older than BACKUP_KEEP_DAYS are deleted.
BACKUP_DIR=/mnt/nas/deadhead-backups
BACKUP_HOUR=3
BACKUP_KEEP_DAYS=14
TZ=UTC