Refactor DDNS to support Google domains (via ddclient)
This commit is contained in:
parent
2b5995ecf1
commit
667f3df7b4
@ -1,21 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
services:
|
|
||||||
cloudflare-ddns:
|
|
||||||
image: oznu/cloudflare-ddns
|
|
||||||
container_name: ddns_cloudflare-ddns
|
|
||||||
logging:
|
|
||||||
driver: loki
|
|
||||||
options:
|
|
||||||
loki-url: http://localhost:3100/loki/api/v1/push
|
|
||||||
loki-batch-size: "50"
|
|
||||||
loki-retries: "1"
|
|
||||||
loki-timeout: "2s"
|
|
||||||
keep-file: "true"
|
|
||||||
|
|
||||||
restart: "no"
|
|
||||||
environment:
|
|
||||||
- API_KEY=9DFsEwqVGRvcvKcpU7v5tORYIj-BmTJ-7zHonskl
|
|
||||||
- ZONE=jafner.net
|
|
||||||
- SUBDOMAIN=*
|
|
||||||
labels:
|
|
||||||
- traefik.enable=false
|
|
1
server/config/ddns/.env
Normal file
1
server/config/ddns/.env
Normal file
@ -0,0 +1 @@
|
|||||||
|
DOCKER_DATA=/home/joey/data/ddns
|
40
server/config/ddns/docker-compose.yml
Normal file
40
server/config/ddns/docker-compose.yml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
cloudflare:
|
||||||
|
image: oznu/cloudflare-ddns
|
||||||
|
container_name: ddns_cloudflare
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: http://localhost:3100/loki/api/v1/push
|
||||||
|
loki-batch-size: "50"
|
||||||
|
loki-retries: "1"
|
||||||
|
loki-timeout: "2s"
|
||||||
|
keep-file: "true"
|
||||||
|
restart: "no"
|
||||||
|
environment:
|
||||||
|
- API_KEY=9DFsEwqVGRvcvKcpU7v5tORYIj-BmTJ-7zHonskl
|
||||||
|
- ZONE=jafner.net
|
||||||
|
- SUBDOMAIN=*
|
||||||
|
labels:
|
||||||
|
- traefik.enable=false
|
||||||
|
ddclient:
|
||||||
|
image: linuxserver/ddclient
|
||||||
|
container_name: ddns_ddclient
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: http://localhost:3100/loki/api/v1/push
|
||||||
|
loki-batch-size: "50"
|
||||||
|
loki-retries: "1"
|
||||||
|
loki-timeout: "2s"
|
||||||
|
keep-file: "true"
|
||||||
|
restart: "no"
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=America/Los_Angeles
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_DATA}/ddclient:/config
|
||||||
|
labels:
|
||||||
|
- traefik.enable=false
|
Loading…
Reference in New Issue
Block a user