blob: ed98d529a11d4119a0253e2388c1d77f499ba3b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
|