19 lines
441 B
Django/Jinja
19 lines
441 B
Django/Jinja
version: "3"
|
|
|
|
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: pihole/pihole:latest
|
|
ports:
|
|
- "{{ johan_ip }}:53:53/tcp"
|
|
- "{{ johan_ip }}:53:53/udp"
|
|
- "127.0.0.1:53:53/tcp"
|
|
- "127.0.0.1:53:53/udp"
|
|
- "127.0.0.1:9135:80/tcp"
|
|
environment:
|
|
WEBPASSWORD: '{{ pihole_webpwd }}'
|
|
volumes:
|
|
- './etc-pihole:/etc/pihole'
|
|
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
|
restart: unless-stopped
|