role separation

This commit is contained in:
Warezjoe
2024-08-08 09:39:04 +02:00
parent fca0d8655b
commit 8bd24c852f
192 changed files with 113 additions and 3884 deletions

View File

@@ -1,20 +0,0 @@
- name: pi-hole
community.docker.docker_container:
name: pi-hole
image: pihole/pihole:2024.03.2
# 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