Files
data-entry-app/.env.production.example
T

38 lines
1.3 KiB
Bash
Raw Normal View History

2026-06-09 21:28:53 +12:00
APP_NAME=Hunter App
2026-05-10 09:46:07 +12:00
APP_ENV=production
2026-05-04 22:21:07 +12:00
CLIENT_NAME=Hunter Premium Produce
CLIENT_EMAIL=operator@example.com
CLIENT_PASSWORD=replace-with-strong-password
CLIENT_TENANT_ID=hunter-premium-produce
ADMIN_NAME=Lean 101
2026-05-10 09:46:07 +12:00
ADMIN_EMAIL=admin@example.com
2026-05-04 22:21:07 +12:00
ADMIN_PASSWORD=replace-with-strong-password
2026-05-10 09:46:07 +12:00
AUTH_SECRET=replace-with-a-32-character-or-longer-random-secret
2026-05-04 22:21:07 +12:00
# Postgres credentials. The compose file builds DATABASE_URL from these
# so you do not need to set DATABASE_URL explicitly. Override DATABASE_URL
# only if you want to point at a managed Postgres outside the compose stack.
2026-05-10 09:46:07 +12:00
POSTGRES_USER=lean101_app
2026-05-04 22:21:07 +12:00
POSTGRES_PASSWORD=replace-with-a-long-random-password
POSTGRES_DB=lean101
# DATABASE_URL=postgresql+psycopg://USER:PASS@HOST:5432/DBNAME
2026-05-10 09:46:07 +12:00
ORIGIN=https://clients.example.com
PUBLIC_API_BASE_URL=https://clients.example.com
2026-05-04 22:21:07 +12:00
INTERNAL_API_BASE_URL=http://backend:8000
2026-05-10 09:46:07 +12:00
CORS_ALLOW_ORIGINS=https://clients.example.com
CORS_ALLOW_ORIGIN_REGEX=
2026-05-31 20:19:44 +12:00
TRUSTED_HOSTS=clients.example.com,127.0.0.1,localhost
2026-05-04 22:21:07 +12:00
CLIENTS_APP_PORT=8081
2026-05-10 09:46:07 +12:00
SESSION_COOKIE_SECURE=true
SESSION_COOKIE_SAMESITE=lax
SESSION_COOKIE_DOMAIN=
SESSION_TTL_SECONDS=43200
REQUEST_BODY_MAX_BYTES=1048576
LOGIN_RATE_LIMIT_ATTEMPTS=8
LOGIN_RATE_LIMIT_WINDOW_SECONDS=300
DOCS_ENABLED=false
2026-05-04 22:21:07 +12:00
PUBLIC_MIX_CALCULATOR_SESSION_HISTORY=false
PUBLIC_MIX_CALCULATOR_SESSION_SAVE=false