Skip to content

Instantly share code, notes, and snippets.

@shalzz
Last active January 2, 2021 11:41
Show Gist options
  • Save shalzz/e30d41403f92feef0d2688d081336dbd to your computer and use it in GitHub Desktop.
Save shalzz/e30d41403f92feef0d2688d081336dbd to your computer and use it in GitHub Desktop.
DNS stack self host
version: "3"
services:
hsd:
container_name: hsd
image: shalzz/hsd:2.2.0-a1409dc4
volumes:
- '/media/sda1/hsd-data:/root/.hsd'
ports:
- "54:54/tcp"
- "54:54/udp"
- "5300:5300/udp"
- "5300:5300/tcp"
command:
- 'hsd'
- '--ns-host'
- '0.0.0.0'
- '--ns-port'
- '5300'
- '--rs-host'
- '0.0.0.0'
- '--rs-port'
- '54'
restart: unless-stopped
adguard:
container_name: adguard
image: adguard/adguardhome:latest
ports:
- "53:53/tcp" ## dns
- "53:53/udp" ## dns
- "67:67/udp" ## dhcp
- "68:68/tcp" ## dhcp
- "68:68/udp" ## dhcp
- "80:80/tcp" ## dashboard
- "443:443/tcp" ## dashboard
- "853:853/tcp"
- "3000:3000/tcp"
volumes:
- './workdir:/opt/adguardhome/work'
- './config:/opt/adguardhome/conf'
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment