Added ddns-updater
This commit is contained in:
parent
385b0e66a6
commit
3d497c3f66
|
@ -1,3 +1,4 @@
|
|||
.env.local
|
||||
_copy_to_traefik/tls
|
||||
**/app.env
|
||||
ddns-updater/config.json
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"settings": [
|
||||
{
|
||||
"provider": "cloudflare",
|
||||
"zone_identifier": "grab from zone overview page",
|
||||
"domain": "fqdn of dynamic hostname",
|
||||
"proxied": false,
|
||||
"ttl": 600,
|
||||
"token": "cloudflare DNS token",
|
||||
"ip_version": "ipv4",
|
||||
"ipv6_suffix": ""
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
services:
|
||||
ddns-updater:
|
||||
environment:
|
||||
USER_UID: "${SZ_USER_UID}"
|
||||
USER_GID: "${SZ_USER_GID}"
|
||||
# user: "${SZ_USER_UID}"
|
||||
|
||||
# environment:
|
||||
# - CONFIG=
|
||||
# - PERIOD=5m
|
||||
# - UPDATE_COOLDOWN_PERIOD=5m
|
||||
# - PUBLICIP_FETCHERS=all
|
||||
# - PUBLICIP_HTTP_PROVIDERS=all
|
||||
# - PUBLICIPV4_HTTP_PROVIDERS=all
|
||||
# - PUBLICIPV6_HTTP_PROVIDERS=all
|
||||
# - PUBLICIP_DNS_PROVIDERS=all
|
||||
# - PUBLICIP_DNS_TIMEOUT=3s
|
||||
# - HTTP_TIMEOUT=10s
|
||||
|
||||
# # Web UI
|
||||
# - LISTENING_ADDRESS=:8000
|
||||
# - ROOT_URL=/
|
||||
|
||||
# # Backup
|
||||
# - BACKUP_PERIOD=0 # 0 to disable
|
||||
# - BACKUP_DIRECTORY=/updater/data
|
||||
|
||||
# # Other
|
||||
# - LOG_LEVEL=info
|
||||
# - LOG_CALLER=hidden
|
||||
# - SHOUTRRR_ADDRESSES=
|
||||
# restart: always
|
||||
|
||||
volumes:
|
||||
#- dummy:/updater/data:ro
|
||||
- type: bind
|
||||
source: ${ROOT_FOLDER_HOST}/user-config/${APP_ID}/config.json
|
||||
target: /updater/data/config.json
|
||||
read_only: true
|
|
@ -0,0 +1,2 @@
|
|||
SZ_USER_UID=<UID>
|
||||
SZ_USER_GID=<GID>
|
Loading…
Reference in New Issue