Complete training workflow and acceptance hardening

This commit is contained in:
andreysk0304 2026-09-26 18:12:27 +03:00 • committed by gglamer
commit 7237265833
243 changed files with 17014 additions and 1500 deletions

View file

@ -0,0 +1,19 @@
# Production overlay. Keep the default developer profile in docker-compose.yml
# convenient, but refuse to start a network deployment with the known demo DB
# password. Use a URL-unreserved random secret (A-Z, a-z, 0-9, ., _, ~, -).
services:
postgres:
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Set a unique URL-safe POSTGRES_PASSWORD in .env}
backend:
environment:
APP_ENV: production
DEMO_NO_DB: "false"
DEV_AUTH_BYPASS: "false"
SECURE_COOKIES: "true"
DATABASE_URL: postgresql+asyncpg://lct:${POSTGRES_PASSWORD:?Set a unique URL-safe POSTGRES_PASSWORD in .env}@postgres:5432/lct
backup:
environment:
DATABASE_URL: postgresql+asyncpg://lct:${POSTGRES_PASSWORD:?Set a unique URL-safe POSTGRES_PASSWORD in .env}@postgres:5432/lct