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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. ports:
  13. - "127.0.0.1:34020:5432"
  14. env_file:
  15. - env
  16. poweradmin:
  17. build: ./poweradmin
  18. container_name: pdns-poweradmin
  19. networks:
  20. pdns.internal.docker:
  21. aliases:
  22. - poweradmin.pdns.internal.docker
  23. ports:
  24. - "127.0.0.1:34021:80"
  25. env_file:
  26. - env
  27. pdns:
  28. build: ./pdns
  29. container_name: pdns-pdns
  30. networks:
  31. pdns.internal.docker:
  32. aliases:
  33. - pdns.pdns.internal.docker
  34. ports:
  35. - "0.0.0.0:53:53/udp"
  36. - "0.0.0.0:53:53/tcp"
  37. env_file:
  38. - env
  39. pdns-recursor:
  40. build: ./pdns-recursor
  41. container_name: pdns-pdns-recursor
  42. networks:
  43. pdns.internal.docker:
  44. aliases:
  45. - pdns-recursor.pdns.internal.docker
  46. env_file:
  47. - env
  48. networks:
  49. pdns.internal.docker: