docker-compose.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. version: "3.9"
  2. volumes:
  3. pihole_config_etc:
  4. pihole_config_dnsmasq:
  5. heimdall_config:
  6. git_data:
  7. postgres_data:
  8. services:
  9. heimdall:
  10. environment:
  11. - PGID=1000
  12. - PUID=1000
  13. image: ghcr.io/linuxserver/heimdall
  14. ports:
  15. - "10.10.20.254:80:80/tcp"
  16. restart: unless-stopped
  17. volumes:
  18. - heimdall_config:/config:rw
  19. - /etc/timezone:/etc/timezone:ro
  20. - /etc/localtime:/etc/localtime:ro
  21. pihole:
  22. dns:
  23. - 202.142.142.142
  24. - 202.142.142.242
  25. environment:
  26. - PUID=1000
  27. - CONDITIONAL_FORWARDING_IP=10.10.20.1
  28. - CONDITIONAL_FORWARDING_DOMAIN=playne.id.au
  29. - DNS2=202.142.142.242
  30. - ServerIP=10.10.20.253
  31. - CONDITIONAL_FORWARDING=True
  32. - DNS1=202.142.142.142
  33. - PGID=1000
  34. - DNS_IPv6=2403:5800:c100:7802::feed
  35. - DNS_IP=10.10.20.253
  36. - IPv6=True
  37. image: pihole/pihole:latest
  38. ports:
  39. - "10.10.20.253:443:443/tcp"
  40. - "10.10.20.253:53:53/tcp"
  41. - "10.10.20.253:53:53/udp"
  42. - "10.10.20.253:80:80/tcp"
  43. restart: unless-stopped
  44. volumes:
  45. - /etc/timezone:/etc/timezone:ro
  46. - /etc/localtime:/etc/localtime:ro
  47. - pihole_config_etc:/etc/pihole:rw
  48. - pihole_config_dnsmasq:/etc/dnsmasq.d:rw
  49. git:
  50. image: gogs/gogs
  51. ports:
  52. - "10022:22"
  53. - "3000:3000"
  54. volumes:
  55. - git_data:/data
  56. nextcloud:
  57. image: nextcloud
  58. restart: unless-stopped
  59. ports:
  60. - "10.10.20.252:80:80/tcp"
  61. volumes:
  62. - /mnt/documents/files/cloud/:/var/www/html
  63. environment:
  64. - POSTGRES_DB=nextcloud
  65. - POSTGRES_USER=nextcloud
  66. - POSTGRES_PASSWORD=nextcloud
  67. - POSTGRES_HOST=postgres
  68. depends_on:
  69. - postgres
  70. postgres:
  71. image: postgres:14
  72. ports:
  73. - "5432"
  74. volumes:
  75. - postgres_data:/var/lib/postgresql/data
  76. environment:
  77. - POSTGRES_PASSWORD=nextcloud
  78. - POSTGRES_USER=nextcloud
  79. - POSTGRES_DB=nextcloud