Created
June 13, 2021 15:27
-
-
Save magicstone1412/d95b9a28cf78574b73f4accf625403ed to your computer and use it in GitHub Desktop.
Handshake dns resolver with adguardhome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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