You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 1014B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. version: '2'
  2. services:
  3. bind:
  4. build: ./bind
  5. container_name: dhcp-bind
  6. # restart: unless-stopped
  7. volumes:
  8. - ./data/bind/zones:/etc/bind/zones
  9. ports:
  10. - "0.0.0.0:53:53/udp"
  11. - "0.0.0.0:53:53/tcp"
  12. env_file:
  13. - env
  14. isc-dhcp:
  15. build: ./isc-dhcp
  16. container_name: dhcp-isc-dhcp
  17. # restart: unless-stopped
  18. volumes:
  19. - ./data/isc-dhcp:/data
  20. network_mode: host
  21. env_file:
  22. - env
  23. tftpd:
  24. build: ./tftpd
  25. container_name: dhcp-tftpd
  26. # restart: unless-stopped
  27. volumes:
  28. - ./data/tftpd/tftp:/srv/tftp/
  29. network_mode: host
  30. env_file:
  31. - env
  32. apache:
  33. build: ./apache
  34. container_name: dhcp-apache
  35. # restart: unless-stopped
  36. volumes:
  37. - ./data/apache/files:/var/www
  38. ports:
  39. - "127.0.0.1:34030:80"
  40. env_file:
  41. - env