first commit

This commit is contained in:
2024-04-19 19:09:29 +02:00
commit 13a7b676f7

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
services:
adguard:
image: adguard/adguardhome:latest
container_name: "Adguard"
hostname: "adguard"
restart: "unless-stopped"
#user: "10000:10000"
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/data/docker/adguard-prod-1/workdir:/opt/adguardhome/work:rw"
- "/data/docker/adguard-prod-1/confdir:/opt/adguardhome/conf:rw"
ports:
- "10.0.0.1:53:53/tcp"
- "10.0.0.1:53:53/udp"
#- "10.0.0.1:10001:3000"
#- "10.2.1.1:80:80"
#- "10.2.1.1:443:443"
networks:
adguard:
labels:
- "traefik.enable=true"
- "traefik.http.routers.adguard.entrypoints=websecure"
- "traefik.http.routers.adguard.rule=Host(`adguard.unixyourbrain.org`)"
- "traefik.http.routers.adguard.tls=true"
- "traefik.http.routers.adguard.tls.certresolver=letsencrypt"
- "traefik.http.routers.adguard.middlewares=authelia"
- "traefik.http.services.adguard.loadbalancer.server.port=80"
- "traefik.http.services.adguard.loadbalancer.server.scheme=http"
networks:
adguard:
name: adguard