Add DoH & DDNS containers
This commit is contained in:
parent
319e0d38ca
commit
f4605b2c42
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=DDNS updater (Compose Service)
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/ddns-updater
|
||||
ExecStart=/usr/bin/docker-compose --project-name ddns-updater up
|
||||
ExecStop=/usr/bin/docker-compose --project-name ddns-updater down
|
||||
TimeoutStartSec=0
|
||||
Restart=on-failure
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=DNS proxy (Compose Service)
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/dns-proxy
|
||||
ExecStart=/usr/bin/docker-compose --project-name dns-proxy up
|
||||
ExecStop=/usr/bin/docker-compose --project-name dns-proxy down
|
||||
TimeoutStartSec=0
|
||||
Restart=on-failure
|
||||
StartLimitIntervalSec=60
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
version: "3.0"
|
||||
|
||||
services:
|
||||
updater:
|
||||
image: qmcgaw/ddns-updater:256
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
CONFIG: '${CONFIG}'
|
||||
ports:
|
||||
- "8000:8000"
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
version: "3.0"
|
||||
|
||||
services:
|
||||
proxy:
|
||||
image: visibilityspots/cloudflared:2023.2.1-alpine-3.17
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
UPSTREAM1: '${UPSTREAM1}'
|
||||
UPSTREAM2: '${UPSTREAM2}'
|
||||
ports:
|
||||
- "53:5054/tcp"
|
||||
- "53:5054/udp"
|
Loading…
Reference in New Issue