mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-10 13:10:31 +00:00
26 lines
860 B
YAML
26 lines
860 B
YAML
# [Adguardhome-sync](https://github.com/bakito/adguardhome-sync/) is a tool to
|
|
# synchronize AdGuardHome config to replica instances.
|
|
|
|
---
|
|
version: "2.1"
|
|
services:
|
|
adguardhome-sync:
|
|
image: ghcr.io/linuxserver/adguardhome-sync
|
|
container_name: adguardhome-sync
|
|
environment:
|
|
# for UserID
|
|
- PUID=${PUID:-1024}
|
|
# for GroupID
|
|
- PGID=${PGID:-100}
|
|
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
|
# Set a custom config file.
|
|
- CONFIGFILE=/config/adguardhome-sync.yaml # optional
|
|
volumes:
|
|
# Contains all relevant configuration files.
|
|
- ${BASEDIR:-/volume1/docker}/adguardhome-sync/config:/config
|
|
ports:
|
|
# Port for AdGuardHome Sync's web API.
|
|
- 8080:8080
|
|
restart: unless-stopped
|