ddns/docker/docker-compose.yml
Philipp Böhm e82621e153 First partial working docker setup
add initial version of docker setup

add configuration via environment variables

remove override file

support docker-compose.override.yml

add up2date pdns container
2017-07-02 20:54:54 +02:00

43 lines
No EOL
747 B
YAML

version: '2'
volumes:
ddns:
services:
ddns:
restart: unless-stopped
build:
context: ..
dockerfile: docker/ddns/Dockerfile
volumes:
- ddns:/go/bin/
ddns-web:
restart: unless-stopped
build:
context: web/
dockerfile: Dockerfile
depends_on:
- redis
volumes_from:
- ddns
environment:
DDNS_DOMAIN: d.example.net
ddns-powerdns:
restart: unless-stopped
build:
context: powerdns/
dockerfile: Dockerfile
depends_on:
- redis
volumes_from:
- ddns
environment:
DDNS_DOMAIN: d.example.net
DDNS_SOA_DOMAIN: soa.example.net
DDNS_VERBOSE: --verbose
redis:
restart: unless-stopped
image: redis:latest