26 lines
599 B
YAML
26 lines
599 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
cloudflare-ddns:
|
|
image: oznu/cloudflare-ddns:latest
|
|
container_name: cloudflare-ddns
|
|
restart: ${RESTART_POLICY}
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- API_KEY=${CF_API_TOKEN}
|
|
- ZONE=${CF_ZONE}
|
|
- SUBDOMAIN=${CF_SUBDOMAIN}
|
|
- PROXIED=${CF_PROXIED}
|
|
- TTL=${CF_TTL}
|
|
- CRON=${CF_CRON}
|
|
|
|
# Gotify (notifica SOLO se IP cambia)
|
|
- GOTIFY_URL=${GOTIFY_URL}
|
|
- GOTIFY_TOKEN=${GOTIFY_TOKEN}
|
|
- GOTIFY_PRIORITY=${GOTIFY_PRIORITY}
|
|
- GOTIFY_ONLY_ON_CHANGE=true
|
|
|
|
volumes:
|
|
- ${DATA_VOLUME}:/config
|