You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
493 B
30 lines
493 B
---
|
|
version: "3"
|
|
|
|
services:
|
|
pihole:
|
|
image: pihole/pihole:v5.8
|
|
container_name: pihole
|
|
hostname: pihole
|
|
restart: always
|
|
|
|
volumes:
|
|
- ./etc/dnsmasq.d/:/etc/dnsmasq.d/
|
|
- ./etc/pihole/:/etc/pihole/
|
|
expose:
|
|
- "443"
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "67:67/udp"
|
|
- "3006:80"
|
|
cap_add:
|
|
- NET_ADMIN
|
|
dns:
|
|
- 127.0.0.1
|
|
- 1.1.1.1
|
|
|
|
environment:
|
|
- TZ=Europe/Moscow
|
|
- ServerIP=192.168.1.151
|
|
...
|