Samba-ad-dc-ddns-doker/docker-compose.yml

45 lines
857 B
YAML

version: "3.9"
services:
dhcp4:
build:
context: ./
dockerfile: DockerfileIPv4
image: dhcp4:1.0.0
container_name: dhcp4
restart: "unless-stopped"
environment:
TZ: Asia/Tokyo
DHCPIF: "ens33"
DHCPSERVER: "addc"
DHCPDOMAIN: "example.net"
DHCPDNSADM: "ssoauth"
DHCPDBGFLG: "false"
hostname: dhcp4
network_mode: "host"
volumes:
- v4:/var/lib/dhcp
dhcp6:
build:
context: ./
dockerfile: DockerfileIPv6
image: dhcp6:1.0.0
container_name: dhcp6
restart: "unless-stopped"
environment:
TZ: Asia/Tokyo
DHCPIF: "ens33"
DHCPSERVER: "addc"
DHCPDOMAIN: "example.net"
DHCPDNSADM: "ssoauth"
DHCPDBGFLG: "false"
hostname: dhcp6
network_mode: "host"
volumes:
- v6:/var/lib/dhcp
volumes:
v4:
v6: