blob: 07a816c9cc3b35e6fe5fd1b46af90d995d7c6d0b [file] [log] [blame]
version: '2'
services:
harvester:
image: "docker-registry:5000/cord-dhcp-harvester:{{ docker.image_version }}"
container_name: harvester
restart: always
labels:
- "lab.solution=cord"
- "lab.component=harvester"
volumes:
- "/var/lib/maas/dhcp:/dhcp"
- "/etc/bind/maas:/bind"
- "/etc/bind/maas:/key"
- "/etc/dhcp:/etc/dhcp"
ports:
- "8954:8954"
command: [ "--server", "{{ mgmt_ip_address.stdout }}", "--port", "954", "--key", "/key/rndc.conf.maas", "--zone", "cord.lab", "--update", "--verify", "--timeout", "1s", "--repeat", "5m", "--quiet", "2s", "--workers", "10", "--filter", "^(?!cord)" ]
restart: unless-stopped