# /opt/stacks/ddns/docker-compose.yml services: ddns-go: container_name: ddns-go image: jeessy/ddns-go:latest restart: unless-stopped ports: - "9876:9876" # UI web (només local → via Nginx) environment: TZ: Europe/Madrid volumes: - ddns_data:/root # Persisteix la configuració healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:9876"] interval: 30s timeout: 10s retries: 3 start_period: 15s networks: - shared_net volumes: ddns_data: networks: shared_net: external: true name: shared_net