123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- version: '2'
-
- services:
- isc-dhcp:
- build: ./isc-dhcp
- container_name: dhcp-isc-dhcp
- volumes:
- - ./data/isc-dhcp:/data
- network_mode: host
- # networks:
- # dhcp.internal.docker:
- # aliases:
- # - isc-dhcp.dhcp.internal.docker
- # ports:
- # - "0.0.0.0:67:67/udp"
- env_file:
- - env
-
- tftpd:
- build: ./tftpd
- container_name: dhcp-tftpd
- volumes:
- - ./data/tftpd/tftp:/srv/tftp/
- networks:
- dhcp.internal.docker:
- aliases:
- - tftpd.dhcp.internal.docker
- ports:
- - "0.0.0.0:69:69/udp"
- env_file:
- - env
-
- # dhcp-recursor:
- # build: ./dhcp-recursor
- # container_name: dhcp-dhcp-recursor
- # networks:
- # dhcp.internal.docker:
- # aliases:
- # - dhcp-recursor.dhcp.internal.docker
- # env_file:
- # - env
-
-
- networks:
- dhcp.internal.docker:
|