Infra: Added robust DuckDNS updater and DNS monitoring sidecar container

This commit is contained in:
2026-01-05 21:44:27 +00:00
parent 58b1f4cc65
commit b2175b574f
4 changed files with 161 additions and 1 deletions

View File

@@ -106,4 +106,29 @@ services:
- ./serpapikey.txt:/app/serpapikey.txt
environment:
- PYTHONUNBUFFERED=1
- DB_PATH=/app/gtm_projects.db
- DB_PATH=/app/gtm_projects.db
# --- DUCKDNS UPDATER ---
duckdns:
image: lscr.io/linuxserver/duckdns:latest
container_name: duckdns
environment:
- PUID=1000 # User ID (anpassen falls nötig)
- PGID=1000 # Group ID (anpassen falls nötig)
- TZ=Europe/Berlin
- SUBDOMAINS=floke,floke-ai,floke-gitea,floke-ha,floke-n8n
- TOKEN=af8f6d8b-5a83-4251-9c15-d3b3e82eeef1
restart: unless-stopped
# --- DNS MONITOR (Sidecar) ---
dns-monitor:
image: alpine
container_name: dns-monitor
environment:
- SUBDOMAINS=floke,floke-ai,floke-gitea,floke-ha,floke-n8n
- TZ=Europe/Berlin
volumes:
- ./dns-monitor:/app
command: /app/monitor.sh
restart: unless-stopped