Compare commits

...

2 Commits

Author SHA1 Message Date
Emil Dabrowski b1b48ee5b7 Trim newlines 2023-02-11 16:35:36 +01:00
Emil Dabrowski f4605b2c42 Add DoH & DDNS containers 2023-02-11 16:35:36 +01:00
14 changed files with 56 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -13,4 +13,3 @@ StartLimitBurst=3
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,11 @@
---
version: "3.0"
services:
updater:
image: qmcgaw/ddns-updater:256
restart: unless-stopped
environment:
CONFIG: '${CONFIG}'
ports:
- "8000:8000"

View File

@ -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"