dns / docker-compose.yml
toailao125's picture
Update docker-compose.yml
ad7d9bd verified
raw
history blame contribute delete
356 Bytes
version: '3'
services:
pihole:
image: pihole/pihole:latest
container_name: pihole
ports:
- "80:80"
- "443:443"
environment:
- ServerIP=0.0.0.0
- WEBPASSWORD=123456
volumes:
- pihole_data:/etc/pihole
- dnsmasq_data:/etc/dnsmasq.d
restart: unless-stopped
volumes:
pihole_data:
dnsmasq_data: