Add vault_key mappings for all services

This commit is contained in:
sascha 2026-04-18 15:57:10 +02:00
parent 2ae9131c20
commit dfb4e1a485

18
app.py
View file

@ -85,12 +85,16 @@ def _parse_url_key(name):
# --- Service configs --- # --- Service configs ---
SERVICES = { SERVICES = {
"dockhand": {"url": "http://10.4.1.116:3000", "auth": "session"}, "dockhand": {"url": "http://10.4.1.116:3000", "auth": "session",
"sonarr": {"url": "http://10.2.1.100:8989", "auth": "apikey", "key_file": "sonarr"}, "vault_key": "dockhand_password"},
"sonarr": {"url": "http://10.2.1.100:8989", "auth": "apikey", "key_file": "sonarr",
"vault_key": "sonarr_uhd_key"},
"sonarr1080p": {"url": None, "auth": "apikey_urlfile", "key_file": "sonarr1080p"}, "sonarr1080p": {"url": None, "auth": "apikey_urlfile", "key_file": "sonarr1080p"},
"radarr": {"url": "http://10.2.1.100:7878", "auth": "apikey", "key_file": "radarr"}, "radarr": {"url": "http://10.2.1.100:7878", "auth": "apikey", "key_file": "radarr",
"vault_key": "radarr_uhd_key"},
"radarr1080p": {"url": None, "auth": "apikey_urlfile", "key_file": "radarr1080p"}, "radarr1080p": {"url": None, "auth": "apikey_urlfile", "key_file": "radarr1080p"},
"seerr": {"url": "http://10.2.1.100:5055", "auth": "apikey", "key_file": "seer"}, "seerr": {"url": "http://10.2.1.100:5055", "auth": "apikey", "key_file": "seer",
"vault_key": "seerr_api_key"},
"outline": {"url": "http://10.1.1.100:3000", "auth": "bearer", "key_file": "outline", "outline": {"url": "http://10.1.1.100:3000", "auth": "bearer", "key_file": "outline",
"vault_key": "outline_api_key"}, "vault_key": "outline_api_key"},
"n8n": {"url": "http://10.4.1.113:5678", "auth": "n8n", "key_file": "n8n", "n8n": {"url": "http://10.4.1.113:5678", "auth": "n8n", "key_file": "n8n",
@ -98,8 +102,10 @@ SERVICES = {
"proxmox": {"url": "https://10.5.85.11:8006", "auth": "proxmox"}, "proxmox": {"url": "https://10.5.85.11:8006", "auth": "proxmox"},
"homeassistant": {"url": "http://10.10.1.20:8123", "auth": "bearer", "key_file": "homeassistent", "homeassistant": {"url": "http://10.10.1.20:8123", "auth": "bearer", "key_file": "homeassistent",
"vault_key": "ha_token"}, "vault_key": "ha_token"},
"grafana": {"url": "http://10.1.1.111:3000", "auth": "bearer", "key_file": "grafana"}, "grafana": {"url": "http://10.1.1.111:3000", "auth": "bearer", "key_file": "grafana",
"uptime": {"url": "http://159.69.245.190:3001", "auth": "bearer", "key_file": "uptime"}, "vault_key": "grafana_api_key"},
"uptime": {"url": "http://159.69.245.190:3001", "auth": "bearer", "key_file": "uptime",
"vault_key": "uptime_api_key"},
"waha": {"url": "http://10.4.1.110:3500", "auth": "apikey", "waha": {"url": "http://10.4.1.110:3500", "auth": "apikey",
"key_file": "waha_api_key", "vault_key": "waha_api_key"}, "key_file": "waha_api_key", "vault_key": "waha_api_key"},
} }