File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 2
2
/docker /docker-compose. * .yml
3
3
/ddns
4
4
dump.rdb
5
+ /docker /.caddy_mount /
6
+ /docker /.redis_mount /
Original file line number Diff line number Diff line change @@ -52,15 +52,6 @@ you have to create the following two DNS records:
52
52
53
53
### ` ddns ` -Setup
54
54
55
- Setting up ` ddns ` was kind of a hassle in the legacy version, because there are multiple components that have to
56
- work together:
57
-
58
- * ` ddns ` that runs the frontend and provides an API compatible with the
59
- [ Remote Backend] ( https://doc.powerdns.com/md/authoritative/backend-remote/ )
60
- * Redis as storage backend for ` ddns `
61
- * PowerDNS as DNS server, which uses the ` ddns ` backend API on Port ` 8053 `
62
- * A web server that makes the ` ddns ` frontend accessible to the Internet through HTTPS
63
-
64
55
The setup is now automated using [ docker-compose] ( https://docs.docker.com/compose/ ) and only some customization has
65
56
to be made in a ` docker-compose.override.yml ` file
66
57
(a [ sample] ( ./docker/docker-compose.override.yml.sample ) is available here).
@@ -81,8 +72,6 @@ Please adjust the settings in `docker-compose.override.yml` marked with the `#<<
81
72
* adjust the domain part in lines marked with ` # <<< ADJUST DOMAIN ` according to your DNS-Setup
82
73
* insert your email address in lines marked with ` # <<< INSERT EMAIL ` which is required for getting certificates
83
74
from Lets Encrypt
84
- * adjust the path component before the ` : ` in lines marked with ` # <<< ADJUST LOCAL PATH ` if the shown path
85
- does not meet your requirements
86
75
87
76
Finally execute the following ` docker-compose ` command, which creates 4 containers in detached mode which are also
88
77
started automatically after reboot. For updating an existing installation use the same command because it automatically
Original file line number Diff line number Diff line change @@ -12,20 +12,21 @@ services:
12
12
13
13
redis:
14
14
volumes:
15
- - "/root/ddns-redis :/data" # <<< ADJUST LOCAL PATH
15
+ - "${PWD}/.redis_mount :/data"
16
16
17
17
caddy:
18
18
restart: unless-stopped
19
19
image: abiosoft/caddy:latest
20
20
depends_on:
21
21
- ddns
22
22
environment:
23
+ ACME_AGREE: "true"
23
24
DDNS_FRONTEND_HOST: ddns:8080
24
25
DDNS_CADDY_DOMAIN: ddns.example.net # <<< ADJUST DOMAIN
25
26
DDNS_CADDY_TLS_EMAIL:
[email protected] # <<< INSERT EMAIL
26
27
volumes:
27
28
- "${PWD}/caddy/Caddyfile:/etc/Caddyfile"
28
- - "/root/ddns-caddy :/root/.caddy" # <<< ADJUST LOCAL PATH
29
+ - "${PWD}/.caddy_mount :/root/.caddy"
29
30
ports:
30
31
- "80:80"
31
32
- "443:443"
You can’t perform that action at this time.
0 commit comments