blob: 226c9e6d7404e2db242826776403217b7d9954f6 [file] [log] [blame]
harvester:
image: opencord/cord-dhcp-harvester:latest
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)" ]