mirror of
https://github.com/samjage/lab.git
synced 2026-06-06 03:00:42 +00:00
30 lines
544 B
YAML
Executable File
30 lines
544 B
YAML
Executable File
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: pihole/pihole:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "8053:80/tcp"
|
|
environment:
|
|
- WEBPASSWORD=${PIHOLE_PASSWORD}
|
|
- ServerIP=192.168.1.40
|
|
volumes:
|
|
- etc-pihole:/etc/pihole
|
|
- etc-dnsmasq.d:/etc/dnsmasq.d
|
|
networks:
|
|
- backbone
|
|
|
|
volumes:
|
|
etc-pihole:
|
|
external: true
|
|
name: etc-pihole
|
|
etc-dnsmasq.d:
|
|
external: true
|
|
name: etc-dnsmasq.d
|
|
|
|
networks:
|
|
backbone:
|
|
name: backbone
|