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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. version: '2'
  2. services:
  3. postgresql:
  4. build: ./postgresql
  5. container_name: pdns-postgresql
  6. networks:
  7. pdns.internal.docker:
  8. aliases:
  9. - postgresql.pdns.internal.docker
  10. volumes:
  11. - ./data/postgresql/data:/var/lib/postgresql/data
  12. - ./data/postgresql/backup:/var/lib/postgresql/backup
  13. ports:
  14. - "127.0.0.1:34020:5432"
  15. env_file:
  16. - env
  17. poweradmin:
  18. build: ./poweradmin
  19. container_name: pdns-poweradmin
  20. networks:
  21. pdns.internal.docker:
  22. aliases:
  23. - poweradmin.pdns.internal.docker
  24. ports:
  25. - "127.0.0.1:34021:80"
  26. env_file:
  27. - env
  28. pdns:
  29. build: ./pdns
  30. container_name: pdns-pdns
  31. networks:
  32. pdns.internal.docker:
  33. aliases:
  34. - pdns.pdns.internal.docker
  35. ports:
  36. - "0.0.0.0:53:53/udp"
  37. - "0.0.0.0:53:53/tcp"
  38. - "127.0.0.1:34022:80"
  39. env_file:
  40. - env
  41. pdns-recursor:
  42. build: ./pdns-recursor
  43. container_name: pdns-pdns-recursor
  44. networks:
  45. pdns.internal.docker:
  46. aliases:
  47. - pdns-recursor.pdns.internal.docker
  48. env_file:
  49. - env
  50. networks:
  51. pdns.internal.docker: