We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e9c5ef commit 3e71d95Copy full SHA for 3e71d95
docker/ddns/Dockerfile
@@ -9,5 +9,10 @@ RUN GO111MODULE=on go get -d -v ./...
9
RUN GO111MODULE=on go install -v ./...
10
11
ENV GIN_MODE release
12
+ENV DDNS_EXPIRATION_DAYS 10
13
-CMD /go/bin/ddns --domain=${DDNS_DOMAIN} --soa_fqdn=${DDNS_SOA_DOMAIN} --redis=${DDNS_REDIS_HOST}
14
+CMD /go/bin/ddns \
15
+ --domain=${DDNS_DOMAIN} \
16
+ --soa_fqdn=${DDNS_SOA_DOMAIN} \
17
+ --redis=${DDNS_REDIS_HOST} \
18
+ --expiration-days=${DDNS_EXPIRATION_DAYS}
docker/docker-compose.override.yml.sample
@@ -5,6 +5,7 @@ services:
5
environment:
6
DDNS_DOMAIN: d.example.net # <<< ADJUST DOMAIN
7
DDNS_SOA_DOMAIN: ddns.example.net # <<< ADJUST DOMAIN
8
+ DDNS_EXPIRATION_DAYS: 10
powerdns:
ports:
0 commit comments