Skip to content

Instantly share code, notes, and snippets.

@magicstone1412
Created June 13, 2021 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magicstone1412/d95b9a28cf78574b73f4accf625403ed to your computer and use it in GitHub Desktop.
Save magicstone1412/d95b9a28cf78574b73f4accf625403ed to your computer and use it in GitHub Desktop.
Handshake dns resolver with adguardhome
version: "3"
services:
hsd:
container_name: hsd
image: skywirex/hsd:<tag> # see tags at https://hub.docker.com/r/skywirex/hsd/tags
volumes:
- '/home/ubuntu/docker_data/hsd:/root/.hsd' # change your path </home/ubuntu/docker_data/hsd>
network_mode: "host"
command:
- 'hsd'
- '--rs-host'
- '0.0.0.0'
- '--rs-port'
- '5353'
- '--no-wallet'
restart: unless-stopped
adguard:
container_name: adguard
image: adguard/adguardhome:latest
ports:
- '53:53/tcp' # tcp dns
- '53:53/udp' # udp dns
- '80:80/tcp' # dashboard
- '3000:3000/tcp' # 1st time configuration
volumes:
- '/home/ubuntu/docker_data/adguardhome/workdir:/opt/adguardhome/work' # change your path </home/ubuntu/>
- '/home/ubuntu/docker_data/adguardhome/config:/opt/adguardhome/conf' # change your path </home/ubuntu/>
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment