Skip to content

Commit e0b73a1

Browse files
committed
Add API endpoints to Helm
1 parent fb8446e commit e0b73a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ env:
1313
value: "true"
1414
- name: CASPAR_HOST
1515
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/"
1620

1721
timezone:
1822
enabled: true

playout_lib/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
CHANNELBUG_LAYER = "1-100"
1010

1111
# API endpoints
12-
API_URL = "http://schedule-service/playout"
13-
LEGACY_URL = "https://frikanalen.no/api/"
12+
API_URL = os.environ.get("API_URL", "http://schedule-service/playout")
13+
LEGACY_URL = os.environ.get("LEGACY_URL", "https://frikanalen.no/api/")
1414

1515
# File and media settings
1616
FILE_BASE = ""

0 commit comments

Comments
 (0)