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

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. version: '2'
  2. services:
  3. isc-dhcp:
  4. build: ./isc-dhcp
  5. container_name: dhcp-isc-dhcp
  6. volumes:
  7. - ./data/isc-dhcp:/data
  8. network_mode: host
  9. # networks:
  10. # dhcp.internal.docker:
  11. # aliases:
  12. # - isc-dhcp.dhcp.internal.docker
  13. # ports:
  14. # - "0.0.0.0:67:67/udp"
  15. env_file:
  16. - env
  17. tftpd:
  18. build: ./tftpd
  19. container_name: dhcp-tftpd
  20. volumes:
  21. - ./data/tftpd/tftp:/srv/tftp/
  22. networks:
  23. dhcp.internal.docker:
  24. aliases:
  25. - tftpd.dhcp.internal.docker
  26. ports:
  27. - "0.0.0.0:69:69/udp"
  28. env_file:
  29. - env
  30. # dhcp-recursor:
  31. # build: ./dhcp-recursor
  32. # container_name: dhcp-dhcp-recursor
  33. # networks:
  34. # dhcp.internal.docker:
  35. # aliases:
  36. # - dhcp-recursor.dhcp.internal.docker
  37. # env_file:
  38. # - env
  39. networks:
  40. dhcp.internal.docker: