Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

docker-compose.yml 1.1KB

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/config:/etc/bind/config
  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/html
  39. ports:
  40. - "127.0.0.1:34030:80"
  41. env_file:
  42. - env