forked from mtusi2026/mtusi2026lab2
13 lines
590 B
Bash
13 lines
590 B
Bash
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
|
|
# .env is optional: compose.yaml has the same defaults.
|
|
# APP_PORT is the published host port (127.0.0.1); inside the container API listens on 8080.
|
|
APP_HOST=0.0.0.0
|
|
APP_PORT=8080
|
|
APP_ENV=lab
|
|
SESSION_TTL_SECONDS=3600
|
|
# Generated by the secrets-init service into the "secrets" volume; fixed paths in compose.yaml.
|
|
DATABASE_URL_FILE=/run/secrets/database_url
|
|
# Sessions: PostgreSQL is the source of truth, Redis is a read-through cache (no persistence).
|
|
SESSION_STORE=postgres
|
|
CACHE_URL_FILE=/run/secrets/cache_url
|