40 lines
974 B
Bash
40 lines
974 B
Bash
# ---- Django ----
|
|
SECRET_KEY=change-me-in-production
|
|
DEBUG=1
|
|
ALLOWED_HOSTS=localhost,127.0.0.1
|
|
# Dates are shown to users in Jalali; keep this aligned with APP_TIME_ZONE in
|
|
# the frontend (src/utils/jalali.js) or timestamps will drift by the offset.
|
|
TIME_ZONE=Asia/Tehran
|
|
|
|
# ---- Database (PostgreSQL URL; empty => local SQLite for dev/tests) ----
|
|
DATABASE_URL=
|
|
|
|
# ---- Odoo integration ----
|
|
ODOO_URL=
|
|
ODOO_DATABASE=
|
|
ODOO_USERNAME=
|
|
ODOO_PASSWORD=
|
|
ODOO_API_KEY=
|
|
|
|
# ---- Payment gateway ----
|
|
PAYMENT_GATEWAY_PROVIDER=mock
|
|
PAYMENT_GATEWAY_MERCHANT_ID=
|
|
|
|
# ---- SMS provider ----
|
|
SMS_PROVIDER=mock
|
|
SMS_PROVIDER_API_KEY=
|
|
|
|
# ---- Live camera monitoring (overrides settings panel defaults) ----
|
|
CAMERA_ENABLED=1
|
|
CAMERA_DEFAULT_PROTOCOL=hls
|
|
CAMERA_STREAM_TTL_SECONDS=3600
|
|
CAMERA_PREFER_SECURE=1
|
|
CAMERA_MEDIA_GATEWAY_URL=
|
|
CAMERA_MEDIA_GATEWAY_PATH_TEMPLATE={camera_id}/index.m3u8
|
|
|
|
# ---- Celery ----
|
|
CELERY_BROKER_URL=redis://localhost:6379/0
|
|
|
|
# ---- Currency ----
|
|
BASE_CURRENCY=IRR
|