Files
dashboard-cpsp-executive/backend/.env.example
T

31 lines
813 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=
# HQ mirror pull from farm pusat export APIs (ops + IoT)
ACTIVE_SITE_MIRROR_SYNC_ENABLED=true
ACTIVE_SITE_MIRROR_CLOSED_LIMIT=3
DASHBOARD_PUBLISH_HOUR=17
DASHBOARD_PUBLISH_MINUTE=0