Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.7'
- services:
- adguard:
- container_name: adguard
- image: adguard/adguardhome
- restart: unless-stopped
- ports:
- # - "53:53/tcp"
- # - "53:53/udp"
- - "853:853/tcp"
- - "9001:80/tcp"
- - "9002:443/tcp"
- # - "9003:3000/tcp"
- # Therese 3 are required if you want to use AdGuard as a DHCP server
- # - "67:67/udp"
- # - "68:68/tcp"
- # - "68:68/udp"
- networks:
- - dns-network
- volumes:
- - ./conf:/opt/adguardhome/conf
- - ./data:/opt/adguardhome/work
- - ./certs:/opt/adguardhome/certs # remember to put this path in the UI too
- pihole:
- container_name: pihole
- image: pihole/pihole:2023.11.0
- depends_on:
- - adguard
- ports:
- - "53:53/tcp"
- - "53:53/udp"
- # - "67:67/udp"
- - "9008:80/tcp"
- - "9009:443/tcp"
- environment:
- TZ: 'Asia/Kolkata' #this is the time zone
- volumes:
- - './etc-pihole/:/etc/pihole/'
- - './etc-dnsmasq.d/:/etc/dnsmasq.d/'
- dns:
- - 1.1.1.1
- cap_add:
- - NET_ADMIN
- networks:
- - dns-network
- restart: unless-stopped
- networks:
- dns-network:
- external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement