You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
704 B

version: "3.7"
services:
server:
image: adguard/adguardhome:v0.107.53@sha256:d9c512051141e6a617d773f16cdf6782c178464c6e766acf9fe63482a171f95c
# override the default command to set the web address to port 8095 to avoid conflict with Thunderhub
# command from Dockerfile: https://github.com/AdguardTeam/AdGuardHome/blob/master/docker/Dockerfile
command: ["--no-check-update", "-c", "/opt/adguardhome/conf/AdGuardHome.yaml", "-w", "/opt/adguardhome/work", "--web-addr", "0.0.0.0:8095"]
restart: on-failure
network_mode: host
volumes:
- ${APP_DATA_DIR}/data/work:/opt/adguardhome/work
- ${APP_DATA_DIR}/data/conf:/opt/adguardhome/conf
cap_add:
- NET_ADMIN