version: '2' services: isc-dhcp: build: ./isc-dhcp container_name: dhcp-isc-dhcp volumes: - ./data/isc-dhcp:/data network_mode: host env_file: - env tftpd: build: ./tftpd container_name: dhcp-tftpd volumes: - ./data/tftpd/tftp:/srv/tftp/ network_mode: host env_file: - env apache: build: ./apache container_name: dhcp-apache volumes: - ./data/apache/files:/var/www ports: - "127.0.0.1:34030:80" env_file: - env