We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb8446e commit e0b73a1Copy full SHA for e0b73a1
chart/values.yaml
@@ -13,6 +13,10 @@ env:
13
value: "true"
14
- name: CASPAR_HOST
15
value: "192.168.3.35"
16
+ - name: API_URL
17
+ value: "http://schedule-service/playout"
18
+ - name: LEGACY_URL
19
+ value: "https://frikanalen.no/api/"
20
21
timezone:
22
enabled: true
playout_lib/config.py
@@ -9,8 +9,8 @@
9
CHANNELBUG_LAYER = "1-100"
10
11
# API endpoints
12
-API_URL = "http://schedule-service/playout"
-LEGACY_URL = "https://frikanalen.no/api/"
+API_URL = os.environ.get("API_URL", "http://schedule-service/playout")
+LEGACY_URL = os.environ.get("LEGACY_URL", "https://frikanalen.no/api/")
# File and media settings
FILE_BASE = ""
0 commit comments