Last active
October 17, 2025 05:26
-
-
Save dragonfire1119/ee8c1bc6f0707d8ee0b30afb98efc7eb to your computer and use it in GitHub Desktop.
Revisions
-
dragonfire1119 renamed this gist
Aug 6, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
dragonfire1119 revised this gist
Aug 6, 2023 . 1 changed file with 22 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,18 +6,39 @@ services: container_name: adguardhome # Set the container name to 'adguardhome' restart: unless-stopped # Restart the container automatically unless stopped manually ports: # Map container ports to host ports # Expose port 53 on TCP and UDP for DNS queries - "53:53/tcp" - "53:53/udp" # Expose port 67 on UDP for DHCP server - "67:67/udp" # Expose port 68 on UDP for DHCP client # - "68:68/udp" # Expose port 80 on TCP for HTTP web interface - "80:80/tcp" # Expose port 443 on TCP and UDP for HTTPS web interface - "443:443/tcp" - "443:443/udp" # Expose port 3000 on TCP for AdGuard Home's API - "3000:3000/tcp" # Expose port 853 on TCP for DNS-over-TLS (DoT) - "853:853/tcp" # Expose port 784 on UDP for DNS-over-QUIC (DoQ) - "784:784/udp" # Expose port 853 on UDP for DNS-over-DTLS (DoT) - "853:853/udp" # Expose port 8853 on UDP for DNS-over-TLS (DoT) - "8853:8853/udp" # Expose port 5443 on TCP and UDP for DNSCrypt - "5443:5443/tcp" - "5443:5443/udp" volumes: # Mount host directories as volumes inside the container -
dragonfire1119 revised this gist
Aug 6, 2023 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -21,6 +21,5 @@ services: - "5443:5443/tcp" - "5443:5443/udp" volumes: # Mount host directories as volumes inside the container - /data/adguard-home/work:/opt/adguardhome/work # Mount '/my/own/workdir' to '/opt/adguardhome/work' - /data/adguard-home/confdir:/opt/adguardhome/conf # Mount '/my/own/confdir' to '/opt/adguardhome/conf' -
dragonfire1119 created this gist
Aug 6, 2023 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ version: '3' # Specify the Docker Compose version services: adguardhome: # Define the service named 'adguardhome' image: adguard/adguardhome # Use the 'adguard/adguardhome' Docker image container_name: adguardhome # Set the container name to 'adguardhome' restart: unless-stopped # Restart the container automatically unless stopped manually ports: # Map container ports to host ports - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "68:68/udp" - "80:80/tcp" - "443:443/tcp" - "443:443/udp" - "3000:3000/tcp" - "853:853/tcp" - "784:784/udp" - "853:853/udp" - "8853:8853/udp" - "5443:5443/tcp" - "5443:5443/udp" volumes: # Mount host directories as volumes inside the container - /my/own/workdir:/opt/adguardhome/work # Mount '/my/own/workdir' to '/opt/adguardhome/work' - /my/own/confdir:/opt/adguardhome/conf # Mount '/my/own/confdir' to '/opt/adguardhome/conf' detach: true # Run the container in detached mode (in the background)