23 lines
1013 B
Plaintext
23 lines
1013 B
Plaintext
# Production environment for ht_booking.
|
|
#
|
|
# Copy this file to `.env.production` on the server and fill in real values.
|
|
# docker-compose.prod.yml loads it via `env_file`. The real .env.production is
|
|
# gitignored — never commit it.
|
|
|
|
# --- Admin account -----------------------------------------------------------
|
|
# Seeded into the database on first boot. Login is gated to ADMIN_EMAIL, so
|
|
# only this account can reach the admin pages.
|
|
ADMIN_NAME=Admin
|
|
ADMIN_EMAIL=you@example.com
|
|
ADMIN_PASSWORD=change-me-to-a-long-random-password
|
|
|
|
# --- JWT signing secret (REQUIRED) -------------------------------------------
|
|
# Signs the admin session cookie. The app will not start if this is empty.
|
|
# Generate once with: openssl rand -hex 32
|
|
JWT_SECRET=
|
|
|
|
# --- Database (optional) -----------------------------------------------------
|
|
# Defaults to a SQLite file on the Docker volume (data/production.sqlite).
|
|
# Leave commented unless you want a different location.
|
|
# DATABASE_URL=sqlite://data/production.sqlite?mode=rwc
|