File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,20 +6,24 @@ description: "Financial Overview (מבט כלכלי) — scrape Israeli banks an
66url : " https://github.com/yohaybn/Israeli-Financial-Overview"
77# Supervisor builds with this folder as context (repo root when the full repository is installed under /addons/<name>/).
88startup : application
9+ # Required for Home Assistant s6 base images: Docker’s init must not wrap /init, or s6 throws "can only run as pid 1".
10+ init : false
911arch :
1012 - aarch64
1113 - amd64
1214 - armv7
1315ingress : true
16+ # Must match the listen `port` option (below) for sidebar / Ingress to reach the app.
1417ingress_port : 3000
1518ingress_entry : /
1619options :
17- google_client_id : " "
18- google_client_secret : " "
19- drive_folder_id : " "
20+ port : 3000
2021schema :
21- google_client_id : str
22- google_client_secret : str
23- drive_folder_id : str
22+ port : port
23+ google_client_id : str?
24+ google_client_secret : password?
2425 google_redirect_uri : str?
25- gemini_api_key : str?
26+ drive_folder_id : str?
27+ gemini_api_key : password?
28+ telegram_bot_token : password?
29+ eodhd_api_token : str?
Original file line number Diff line number Diff line change @@ -18,11 +18,17 @@ if [ -f "$CONFIG_PATH" ]; then
1818 fi
1919 }
2020
21+ if [ -z " $PORT " ]; then
22+ export PORT=" $( jq -r ' .port // 3000' " $CONFIG_PATH " ) "
23+ fi
24+
2125 export_json_key " google_client_id" " GOOGLE_CLIENT_ID"
2226 export_json_key " google_client_secret" " GOOGLE_CLIENT_SECRET"
2327 export_json_key " google_redirect_uri" " GOOGLE_REDIRECT_URI"
2428 export_json_key " drive_folder_id" " DRIVE_FOLDER_ID"
2529 export_json_key " gemini_api_key" " GEMINI_API_KEY"
30+ export_json_key " telegram_bot_token" " TELEGRAM_BOT_TOKEN"
31+ export_json_key " eodhd_api_token" " EODHD_API_TOKEN"
2632
2733fi
2834
You can’t perform that action at this time.
0 commit comments