-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 1.28 KB
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (33 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
services:
dyndns:
build: .
# Default: mount your config.php as a read-only file. To configure
# entirely via environment variables instead, remove the config.php
# line below and uncomment the configuration env vars further down.
volumes:
- ./config.php:/app/config.php:ro
- dyndns-data:/app/data
environment:
- "CRON_SCHEDULE=*/5 * * * *"
# - "TZ=Europe/Berlin"
# --- Alternative: configure via environment variables ---
# Quote each line — values with `:`, `*`, or `@` will otherwise
# confuse the YAML parser.
# - "CUSTOMERNR=12345"
# - "APIKEY=your-api-key"
# - "APIPASSWORD=your-api-password"
# - "DOMAINLIST=example.com: @, www"
# - "USE_IPV4=true"
# - "USE_IPV6=false"
# - "CHANGE_TTL=true"
# Optional overrides — uncomment only what you actually want to change:
# - "IPV4_ADDRESS_URL=https://get-ipv4.steck.cc"
# - "IPV4_ADDRESS_URL_FALLBACK=https://ipv4.seeip.org"
# - "IPV6_ADDRESS_URL=https://get-ipv6.steck.cc"
# - "IPV6_ADDRESS_URL_FALLBACK=https://v6.ident.me"
# - "RETRY_SLEEP=30"
# - "JITTER_MAX=30"
# - "APIURL=https://ccp.netcup.net/run/webservice/servers/endpoint.php?JSON"
restart: unless-stopped
volumes:
dyndns-data: