nginx, gitea, pi-hole

This commit is contained in:
git
2024-03-11 13:24:38 +01:00
parent ca2903d731
commit 55167e20fc
11 changed files with 226 additions and 70 deletions

View File

@@ -0,0 +1,20 @@
- name: pi-hole
community.docker.docker_container:
name: pi-hole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"
- "53:53/udp"
# - "8092:80/tcp"
env:
TZ: 'Europe/Prague'
WEBPASSWORD: "{{ password }}"
# Volumes store your data between container upgrades
volumes:
- "{{ docker_homepath }}/etc-pihole:/etc/pihole"
- "{{ docker_homepath }}/etc-dnsmasq.d:/etc/dnsmasq.d"
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
restart_policy: unless-stopped
networks:
- name: http