Skip to content

Instantly share code, notes, and snippets.

@mayjs
Created December 3, 2020 18:38
Show Gist options
  • Save mayjs/32646963029b88ba17c9fad836ecce0a to your computer and use it in GitHub Desktop.
Save mayjs/32646963029b88ba17c9fad836ecce0a to your computer and use it in GitHub Desktop.
Adguard docker compose
version: "3.5"
services:
adguard:
container_name: adguard
image: adguard/adguardhome:latest
volumes:
- "./adguard-work/:/opt/adguardhome/work"
- "./adguard-conf/:/opt/adguardhome/conf"
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
# - "68:68/tcp" # Port 68 (DHCP) causes a conflict with docker/docker-compose
# - "68:68/udp"
- "8081:80/tcp" # Change this if you want the web interface on port 80
- "4443:443/tcp"
- "853:853/tcp"
- "3000:3000/tcp"
expose:
- 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment