You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
641 B
Django/Jinja
25 lines
641 B
Django/Jinja
---
|
|
version: "3"
|
|
services:
|
|
pihole:
|
|
labels:
|
|
ie.cianhatton.backup.enabled: "true"
|
|
ie.cianhatton.backup.schedule: "{{ backups.schedule_keys.nightly }}"
|
|
container_name: pihole
|
|
image: "pihole/pihole:2022.09.2"
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "85:80/tcp"
|
|
environment:
|
|
WEBPASSWORD: '{{ pihole_web_password }}'
|
|
DNSMASQ_LISTENING: "all"
|
|
volumes:
|
|
- '{{ inventory_hostname_short }}_app:/etc/pihole'
|
|
- '{{ inventory_hostname_short }}_dns:/etc/dnsmasq.d'
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
{{ inventory_hostname_short }}_app:
|
|
{{ inventory_hostname_short }}_dns:
|