first commit
This commit is contained in:
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user