version: "3.9" services: dhcp4: build: ./v4 image: dhcp4:1.0.0 container_name: dhcp4 restart: "unless-stopped" environment: TZ: Asia/Tokyo DHCPIF: "ens33" hostname: dhcp4 network_mode: "host" volumes: - v4:/var/lib/dhcp dhcp6: build: ./v6 image: dhcp6:1.0.0 container_name: dhcp6 restart: "unless-stopped" environment: TZ: Asia/Tokyo DHCPIF: "ens33" hostname: dhcp6 network_mode: "host" volumes: - v6:/var/lib/dhcp volumes: v4: v6: