docker-compose.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. version: "3.9"
  2. volumes:
  3. pihole_config_etc:
  4. pihole_config_dnsmasq:
  5. heimdall_config:
  6. git_data:
  7. services:
  8. heimdall:
  9. environment:
  10. - PGID=1000
  11. - PUID=1000
  12. image: ghcr.io/linuxserver/heimdall
  13. ports:
  14. - 10.10.20.254:80:80/tcp
  15. restart: unless-stopped
  16. volumes:
  17. - heimdall_config:/config:rw
  18. - /etc/timezone:/etc/timezone:ro
  19. - /etc/localtime:/etc/localtime:ro
  20. pihole:
  21. dns:
  22. - 202.142.142.142
  23. - 202.142.142.242
  24. environment:
  25. - PUID=1000
  26. - CONDITIONAL_FORWARDING_IP=10.10.20.1
  27. - CONDITIONAL_FORWARDING_DOMAIN=playne.id.au
  28. - DNS2=202.142.142.242
  29. - ServerIP=10.10.20.253
  30. - CONDITIONAL_FORWARDING=True
  31. - DNS1=202.142.142.142
  32. - PGID=1000
  33. - DNS_IPv6=2403:5800:c100:7802::feed
  34. - DNS_IP=10.10.20.253
  35. - IPv6=True
  36. image: pihole/pihole:latest
  37. ports:
  38. - 10.10.20.253:443:443/tcp
  39. - 10.10.20.253:53:53/tcp
  40. - 10.10.20.253:53:53/udp
  41. - 10.10.20.253:80:80/tcp
  42. restart: unless-stopped
  43. volumes:
  44. - /etc/timezone:/etc/timezone:ro
  45. - /etc/localtime:/etc/localtime:ro
  46. - pihole_config_etc:/etc/pihole:rw
  47. - pihole_config_dnsmasq:/etc/dnsmasq.d:rw
  48. git:
  49. image: gogs/gogs
  50. ports:
  51. - "10022:22"
  52. - "3000:3000"
  53. volumes:
  54. - git_data:/data