# Docker Compose environment — copy to project root: # cp docker/.env.example .env # --- PostgreSQL --- DB_USER=executive DB_PASSWORD=change_this_to_a_strong_password DB_NAME=executive # --- Django --- SECRET_KEY=change-me-in-production-use-a-long-random-string DEBUG=false ALLOWED_HOSTS=localhost,127.0.0.1,api,frontend,executive.local CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1,http://executive.local CORS_ALLOWED_ORIGINS=http://localhost,http://127.0.0.1,http://executive.local # Host port for the UI (default 80). Use 8080 if :80 is already taken. FRONTEND_PORT=80 # Production admin (bootstrap_admin — no demo data) BOOTSTRAP_ADMIN_USER=admin BOOTSTRAP_ADMIN_PASSWORD=Pr04dm1n # Optional production GM (leave BOOTSTRAP_STAFF_USER empty to skip) BOOTSTRAP_STAFF_USER= BOOTSTRAP_STAFF_PASSWORD= # Optional: fixed API key for active-site inbound / scripts (hashed at rest) BOOTSTRAP_API_KEY= # HQ mirror pull from farm pusat export APIs (ops + IoT) ACTIVE_SITE_MIRROR_SYNC_ENABLED=true ACTIVE_SITE_MIRROR_CLOSED_LIMIT=3 # Dashboard publish cutoff (WIB): day D visible from 17:00 on day D DASHBOARD_PUBLISH_HOUR=17 DASHBOARD_PUBLISH_MINUTE=0