12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- version: '2'
-
- services:
- bind:
- build: ./bind
- container_name: dhcp-bind
- # restart: unless-stopped
- volumes:
- - ./data/bind/config:/etc/bind/config
- ports:
- - "0.0.0.0:53:53/udp"
- - "0.0.0.0:53:53/tcp"
- env_file:
- - env
-
- isc-dhcp:
- build: ./isc-dhcp
- container_name: dhcp-isc-dhcp
- # restart: unless-stopped
- volumes:
- - ./data/isc-dhcp/data:/data
- - ./data/isc-dhcp/config:/etc/dhcp/config
- network_mode: host
- env_file:
- - env
-
- tftpd:
- build: ./tftpd
- container_name: dhcp-tftpd
- # restart: unless-stopped
- volumes:
- - ./data/tftpd/tftp:/srv/tftp/
- network_mode: host
- env_file:
- - env
-
- apache:
- build: ./apache
- container_name: dhcp-apache
- # restart: unless-stopped
- volumes:
- - ./data/apache/files:/var/www/html
- ports:
- - "127.0.0.1:34030:80"
- env_file:
- - env
|