This repository has been archived on 2026-10-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
karldns.de/docker-compose.yml
T

18 lines
533 B
YAML
Raw Normal View History

2026-05-20 13:48:24 +02:00
services:
ddns:
build: .
restart: unless-stopped
env_file:
- .env
ports:
- "8080:8080"
volumes:
- ddns-data:/data
healthcheck:
2026-05-20 18:33:48 +02:00
test: ["CMD", "python", "-c", "import os, urllib.parse, urllib.request; host=urllib.parse.urlparse(os.environ['DDNS_PUBLIC_BASE_URL']).hostname; req=urllib.request.Request('http://127.0.0.1:8080/healthz', headers={'Host': host}); urllib.request.urlopen(req, timeout=2).read()"]
2026-05-20 13:48:24 +02:00
interval: 30s
timeout: 5s
retries: 3
volumes:
ddns-data: