ddns/docker/docker-compose.override.yml.sample

32 lines
830 B
Text
Raw Normal View History

version: '2'
services:
ddns:
environment:
2018-01-28 15:31:31 +01:00
DDNS_DOMAIN: d.example.net # <<< ADJUST DOMAIN
DDNS_SOA_DOMAIN: ddns.example.net # <<< ADJUST DOMAIN
powerdns:
ports:
- "53/udp:53/udp"
redis:
volumes:
2018-01-28 15:31:31 +01:00
- "/root/ddns-redis:/data" # <<< ADJUST LOCAL PATH
caddy:
restart: unless-stopped
image: abiosoft/caddy:latest
depends_on:
- ddns
environment:
DDNS_FRONTEND_HOST: ddns:8080
2018-01-28 15:31:31 +01:00
DDNS_CADDY_DOMAIN: ddns.example.net # <<< ADJUST DOMAIN
DDNS_CADDY_TLS_EMAIL: changeme@example.net # <<< INSERT EMAIL
volumes:
- "${PWD}/caddy/Caddyfile:/etc/Caddyfile"
2018-01-28 15:31:31 +01:00
- "/root/ddns-caddy:/root/.caddy" # <<< ADJUST LOCAL PATH
ports:
- "80:80"
- "443:443"