update sync data from site dashboard and testing closing cycles

This commit is contained in:
Alberto-Audrix committed 2026-09-15 16:52:41 +07:00
1 parent 36639d8c38
commit f49e72592c
42 files changed
+1966 -688

No files matched your search

+3 -17
View File
@@ -27,24 +27,10 @@ BOOTSTRAP_STAFF_PASSWORD=
# Optional: fixed API key for active-site inbound / scripts (hashed at rest)
BOOTSTRAP_API_KEY=
# City-edge syncs OFF at HQ — data should arrive via active-site mirror sync.
# Enable only if this box also pulls directly from edge services.
KARUNG_WEB_ADMIN_SYNC_ENABLED=false
IOT_SYNC_ENABLED=false
CHICKEN_COUNTING_EDGE_COUNTING_SYNC_ENABLED=false
CHICKEN_COUNTING_EDGE_MORTALITY_SYNC_ENABLED=false
CHICKEN_COUNTING_EDGE_WEIGHT_SYNC_ENABLED=false
# 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
# Optional edge endpoints (unused while sync flags are false)
KARUNG_WEB_ADMIN_BASE_URL=http://host.docker.internal:5000
KARUNG_WEB_ADMIN_TIMEOUT_SECONDS=30
IOT_API_BASE_URL=
IOT_SYNC_LOOKBACK_MINUTES=20
IOT_SYNC_MAX_PAGES=10
IOT_FLOCK_ID_MAP={}
CHICKEN_COUNTING_EDGE_BASE_URL=
CHICKEN_COUNTING_EDGE_TIMEOUT_SECONDS=30