Skip to content

Instantly share code, notes, and snippets.

@hl2guide
Created October 3, 2024 15:50
Show Gist options
  • Save hl2guide/d8a2b1c0e5c74b2e9e54d8c6eb932c37 to your computer and use it in GitHub Desktop.
Save hl2guide/d8a2b1c0e5c74b2e9e54d8c6eb932c37 to your computer and use it in GitHub Desktop.
Example Docker Compose file for AdGuard Home (official: https://hub.docker.com/r/adguard/adguardhome).
# Docker AdGuard Home
services:
adguardhome:
container_name: adguardhome
image: adguard/adguardhome:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "68:68/udp"
- "80:80/tcp"
- "443:443/udp"
- "443:443/tcp"
- "3000:3000/tcp"
- "853:853/tcp"
- "784:784/udp"
- "853:853/udp"
- "8853:8853/udp"
- "5443:5443/tcp"
- "5443:5443/udp"
# Volumes store your data between container upgrades
# Points to two local subfolders 'configuration' and 'data' alongside 'docker-compose.yml' file.
volumes:
- './configuration:/opt/adguardhome/work'
- './data:/opt/adguardhome/conf'
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment