2022-07-28 17:46:12 +00:00
|
|
|
|
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
adguard:
|
2023-06-10 11:34:33 +00:00
|
|
|
image: adguard/adguardhome:v0.107.31
|
2022-07-28 17:46:12 +00:00
|
|
|
container_name: adguard
|
|
|
|
volumes:
|
|
|
|
- "${APP_DATA_DIR}/data/work:/opt/adguardhome/work"
|
|
|
|
- "${APP_DATA_DIR}/data/conf:/opt/adguardhome/conf"
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- tipi_main_network
|
|
|
|
ports:
|
2022-09-23 13:13:04 +00:00
|
|
|
- ${NETWORK_INTERFACE:-0.0.0.0}:53:53/tcp
|
|
|
|
- ${NETWORK_INTERFACE:-0.0.0.0}:53:53/udp
|
2022-07-28 17:46:12 +00:00
|
|
|
- ${APP_PORT}:80
|
2022-11-11 19:33:58 +00:00
|
|
|
labels:
|
|
|
|
traefik.enable: ${APP_EXPOSED}
|
|
|
|
traefik.http.routers.adguard.rule: Host(`${APP_DOMAIN}`)
|
|
|
|
traefik.http.routers.adguard.entrypoints: websecure
|
|
|
|
traefik.http.routers.adguard.service: adguard
|
|
|
|
traefik.http.routers.adguard.tls.certresolver: myresolver
|
|
|
|
traefik.http.services.adguard.loadbalancer.server.port: 80
|