From 3441b68c07e91c0a5c89956b130d67ef81b2c2eb Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Thu, 8 Aug 2024 19:41:29 +0200 Subject: [PATCH] docker-compose: update Signed-off-by: AuxXxilium --- deployment/docker-compose.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/deployment/docker-compose.yml b/deployment/docker-compose.yml index 3844e77..6c54dcf 100644 --- a/deployment/docker-compose.yml +++ b/deployment/docker-compose.yml @@ -1,17 +1,27 @@ version: '3' + +volumes: + bind-data: + database: + services: ddns: - image: bbaerthlein/docker-ddns-server:latest - restart: always + image: auxxxilium/docker-ddns-server:latest + container_name: ddns + restart: unless-stopped environment: + DDNS_TITLE: 'Your DDNS' DDNS_ADMIN_LOGIN: 'admin:$$3$$abcdefg' DDNS_DOMAINS: 'dyndns.example.com' DDNS_PARENT_NS: 'ns.example.com' - DDNS_DEFAULT_TTL: '3600' + DDNS_DEFAULT_TTL: '600' + DDNS_CLEAR_LOG_INTERVAL: '600' + DDNS_ALLOW_WILDCARD: 'TRUE' + DDNS_LOGOUT_URL: 'https://your-domain.com' ports: + - "8080:8080" - "53:53" - "53:53/udp" - - "8080:8080" volumes: - - ./bind-data:/var/cache/bind - - ./database:/root/database + - bind-data:/var/cache/bind + - database:/root/database \ No newline at end of file