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 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. version: '2'
  2. services:
  3. bind:
  4. build: ./bind
  5. container_name: dhcp-bind
  6. # restart: unless-stopped
  7. volumes:
  8. - ./data/bind/config:/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:/data
  20. - ./data/isc-dhcp/config:/etc/dhcp/config
  21. network_mode: host
  22. env_file:
  23. - env
  24. tftpd:
  25. build: ./tftpd
  26. container_name: dhcp-tftpd
  27. # restart: unless-stopped
  28. volumes:
  29. - ./data/tftpd/tftp:/srv/tftp/
  30. network_mode: host
  31. env_file:
  32. - env
  33. apache:
  34. build: ./apache
  35. container_name: dhcp-apache
  36. # restart: unless-stopped
  37. volumes:
  38. - ./data/apache/files:/var/www
  39. ports:
  40. - "127.0.0.1:34030:80"
  41. env_file:
  42. - env