Files
dashboard-cpsp-executive/backend/.env.example
T
2026-09-08 15:21:23 +07:00

33 lines
905 B
Bash

DEBUG=True
SECRET_KEY=change-me-in-production
ALLOWED_HOSTS=localhost,127.0.0.1,api
CSRF_TRUSTED_ORIGINS=http://localhost:8001,http://127.0.0.1:8001,http://localhost:3002,http://127.0.0.1:3002
CORS_ALLOWED_ORIGINS=http://localhost:3002,http://127.0.0.1:3002
CORS_ALLOW_CREDENTIALS=True
# SQLite (local HQ mirror)
DB_ENGINE=django.db.backends.sqlite3
DB_NAME=db.sqlite3
API_PAGE_SIZE=50
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
BOOTSTRAP_API_KEY=
BOOTSTRAP_ADMIN_USER=admin
BOOTSTRAP_ADMIN_PASSWORD=
# Optional second login (seeded as GM when using bootstrap_admin)
BOOTSTRAP_STAFF_USER=
BOOTSTRAP_STAFF_PASSWORD=
# City-edge syncs off at HQ (mirror via city-sites instead)
KARUNG_WEB_ADMIN_SYNC_ENABLED=false
IOT_SYNC_ENABLED=false
CHICKEN_COUNTING_EDGE_COUNTING_SYNC_ENABLED=false
CHICKEN_COUNTING_EDGE_MORTALITY_SYNC_ENABLED=false
DASHBOARD_PUBLISH_HOUR=17
DASHBOARD_PUBLISH_MINUTE=0