Files
karung-web-admin/sources.env.example
T

26 lines
1.1 KiB
Bash

# Site source URLs for karung-web-admin
# Copy this file once per machine, then edit the IPs for that site:
# cp sources.env.example sources.env
#
# Grouping:
# `|` separates cameras (K1, K2, ...)
# `,` separates hosts inside one camera (summed into that Kn)
# No `|` keeps legacy behavior: each host is its own Kn
# One camera from many hosts: add a trailing `|`
#
# Restart after changes:
# sudo systemctl restart karung-web-admin-pull-sources.service
# Tuang (KTC)
# Example: K1 = three hosts summed, K2 = one host
# KTC_BASE_URL=http://REPLACE_HOST_A:9000,http://REPLACE_HOST_B:9000,http://REPLACE_HOST_C:9000|http://REPLACE_HOST_D:9000
KTC_BASE_URL=http://REPLACE_HOST_A:9000|http://REPLACE_HOST_B:9000
# Masuk (KPC) — same grouping; hosts in a group sum into Kn - In / Kn - Out
# Example: K1 = three hosts summed, K2 = two hosts summed
# KPC_BASE_URL=http://REPLACE_HOST_A:7000,http://REPLACE_HOST_B:7000,http://REPLACE_HOST_C:7000|http://REPLACE_HOST_D:7000,http://REPLACE_HOST_E:7000
KPC_BASE_URL=http://REPLACE_HOST_A:7000|http://REPLACE_HOST_B:7000
SOURCE_HISTORY_DAYS=30
SOURCE_PULL_INTERVAL_SECONDS=30