das Netzwerk docker_subnet muss angelegt sein oder an eigene Umgebung angepasst werden, oder die Zeilen Networks entfernen für Default
Docker-Compose
services:
adguardhome:
image: 'adguard/adguardhome:latest'
container_name: AdGuard
hostname: adguard
restart: always
security_opt:
- no-new-privileges:true
environment:
TZ: Europe/Berlin
ports:
- "53:53/tcp" # unverschlüsseltes DNS
- "53:53/udp" # unverschlüsseltes DNS
- "67:67/udp" # DHCP
- "68:68/udp" # DHCP
- "88:80/tcp" # Admin-Weboberfläche & DNS over HTTPS
- "443:443/tcp" # Admin-Weboberfläche & DNS over HTTPS
- "443:443/udp" # Admin-Weboberfläche & DNS over HTTPS
- "3000:3000/tcp" # Ersteinrichtung
- "853:853/tcp" # DNS over TLS
- "853:853/udp" # DNS over Quic
- "784:784/udp" # DNS over Quic
- "8853:8853/udp" # DNS over Quic
- "5443:5443/tcp" # DNSCrypt
- "5443:5443/udp" # DNSCrypt
volumes:
- work:/opt/adguardhome/work
- conf:/opt/adguardhome/conf
networks:
docker_subnet:
ipv4_address: 172.18.0.15
networks:
docker_subnet:
external: true
volumes:
work:
conf: