Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- pihole:
- container_name: pihole
- image: 'pihole/pihole:latest'
- networks:
- pihole_network:
- ipv4_address: 192.168.0.250
- volumes:
- - '/volume1/Share/Docker/pihole/etc/pihole/:/etc/pihole/'
- - '/volume1/Share/Docker/pihole/etc/dnsmasq.d/:/etc/dnsmasq.d/'
- ports:
- - 443/tcp
- - 53/tcp
- - 53/udp
- - 67/udp
- - 80/tcp
- environment:
- TZ: Europe/Amsterdam
- WEBPASSWORD: geheim123
- ServerIP: 192.168.1.250
- restart: unless-stopped
- networks:
- pihole_network:
- driver: macvlan
- driver_opts:
- parent: ovs_eth0
- ipam:
- config:
- - subnet: 192.168.0.0/24
- gateway: 192.168.0.1
- ip_range: 192.168.0.250/32
Advertisement
Add Comment
Please, Sign In to add comment