2016-12-25 23:09:05 +01:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
ddns:
|
2017-11-28 22:26:59 +01:00
|
|
|
restart: unless-stopped
|
2016-12-25 23:09:05 +01:00
|
|
|
build:
|
|
|
|
context: ..
|
|
|
|
dockerfile: docker/ddns/Dockerfile
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
environment:
|
|
|
|
DDNS_DOMAIN: d.example.net
|
2017-11-28 22:26:59 +01:00
|
|
|
DDNS_SOA_DOMAIN: soa.example.net
|
2016-12-25 23:09:05 +01:00
|
|
|
|
2017-11-28 22:26:59 +01:00
|
|
|
powerdns:
|
2016-12-25 23:09:05 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
build:
|
|
|
|
context: powerdns/
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
depends_on:
|
|
|
|
- ddns
|
|
|
|
environment:
|
2017-11-28 22:26:59 +01:00
|
|
|
PDNS_REMOTE_HTTP_HOST: "ddns:8080"
|
2016-12-25 23:09:05 +01:00
|
|
|
|
|
|
|
redis:
|
|
|
|
restart: unless-stopped
|
2017-11-28 22:26:59 +01:00
|
|
|
image: redis:4-alpine
|