First commit
This commit is contained in:
commit
286a7e9a03
46 changed files with 1016 additions and 0 deletions
76
adguard/install/docker.compose.yaml
Normal file
76
adguard/install/docker.compose.yaml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
version: '3.8' # Define the version of the Compose file format
|
||||
|
||||
services:
|
||||
adguardhome:
|
||||
image: adguard/adguardhome:v0.107.69
|
||||
container_name: adguard
|
||||
hostname: adguard
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
# "Plain" DNS server
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
|
||||
# Initial AdGuard Home setup wizard
|
||||
- "3000:3000"
|
||||
|
||||
# Administration panel (HTTP)
|
||||
- "8080:80"
|
||||
|
||||
# Administration panel (HTTPS) / DNS-over-HTTPS (DoH) server
|
||||
- "4443:443"
|
||||
- "4443:443/udp"
|
||||
|
||||
# The following ports are exposed internally by the AdGuard Home image
|
||||
# because they are declared as EXPOSE in its Dockerfile (but they will
|
||||
# NOT be accessible from outside the host unless published in this file)
|
||||
# ss -tuln | grep -E '67|68|853|5443|6060'
|
||||
|
||||
# DNS-over-TLS server
|
||||
# - "853:853/tcp"
|
||||
|
||||
# DNS-over-QUIC server
|
||||
# - "784:784/udp"
|
||||
# - "853:853/udp"
|
||||
# - "8853:8853/udp"
|
||||
|
||||
# DNSCrypt server
|
||||
# - "5443:5443/tcp"
|
||||
# - "5443:5443/udp"
|
||||
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /srv/docker/adguard/work:/opt/adguardhome/work
|
||||
- /srv/docker/adguard/conf:/opt/adguardhome/conf
|
||||
|
||||
networks:
|
||||
- dnsnet
|
||||
|
||||
unbound:
|
||||
image: klutchell/unbound:v1.23.1
|
||||
container_name: unbound
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5335:5335/tcp"
|
||||
- "5335:5335/udp"
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /srv/docker/unbound/unbound.conf:/etc/unbound/custom.conf.d/unbound.conf
|
||||
|
||||
# Si vous souhaitez un journal (log) externe, créez ce fichier et définissez-le dans 'unbound.conf'
|
||||
- /srv/docker/unbound/unbound.log:/var/log/unbound.log
|
||||
|
||||
# Le Dockerfile de cette image télécharge le fichier 'root.hints'
|
||||
# et génère le fichier 'root.key'
|
||||
# https://github.com/klutchell/unbound-docker/blob/main/Dockerfile
|
||||
# - ./unbound/root.hints:/var/lib/unbound/root.hints
|
||||
# - ./unbound/root.key:/var/lib/unbound/root.key
|
||||
|
||||
# Répertoire pour le socket 'unbound.ctl' (remote control)
|
||||
- /srv/docker/unbound/run:/run
|
||||
networks:
|
||||
- dnsnet
|
||||
|
||||
networks:
|
||||
dnsnet:
|
||||
driver: bridge
|
||||
Loading…
Add table
Add a link
Reference in a new issue