umbrel-apps/adguard-home/docker-compose.yml
Julienpeps 098c868b3f
App Submission: Adguard Home (#1038)
Co-authored-by: nmfretz <nmfretz@gmail.com>
2024-05-27 21:38:43 -07:00

16 lines
705 B
YAML

version: "3.7"
services:
server:
image: adguard/adguardhome:v0.107.48@sha256:d0fcf8c8691df20fe1a280d0a4cbc8493b04c7bd8cf8ca56264279510f030e49
# 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