17 lines
563 B
Bash
17 lines
563 B
Bash
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
|
|
APP_HOST=0.0.0.0
|
|
APP_PORT=8080
|
|
APP_ENV=lab
|
|
SESSION_TTL_SECONDS=3600
|
|
SESSION_STORE=redis
|
|
# Compose mounts these secret files into the API container:
|
|
DATABASE_URL_FILE=/run/secrets/database_url
|
|
CACHE_URL_FILE=/run/secrets/cache_url
|
|
# Optional direct URLs for host-side tools (scripts/explain_messages.py):
|
|
# DATABASE_URL=postgresql://messenger:PASSWORD@127.0.0.1:5432/messenger
|
|
# CACHE_URL=redis://127.0.0.1:6379/0
|
|
DB_CONNECT_TIMEOUT=5
|
|
DB_POOL_MIN=1
|
|
DB_POOL_MAX=10
|
|
REDIS_SOCKET_TIMEOUT=3
|