20 lines
660 B
YAML
Executable File
20 lines
660 B
YAML
Executable File
version: "3"
|
|
|
|
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: pihole/pihole:latest
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "80:80/tcp"
|
|
environment:
|
|
TZ: 'America/Chicago'
|
|
WEBPASSWORD: 'set a secure password here or it will be random'
|
|
# Volumes store your data between container upgrades
|
|
volumes:
|
|
- '/docker/appdata/pihole/etc-pihole/:/etc/pihole/'
|
|
- '/docker/appdata/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/'
|
|
# run `touch /docker/appdata/pihole/var-log/pihole.log` first unless you like errors
|
|
- '/docker/appdata/pihole/var-log/pihole.log:/var/log/pihole.log'
|
|
restart: unless-stopped |