2021-04-21 00:55:42 +00:00
|
|
|
# [Adguardhome-sync](https://github.com/bakito/adguardhome-sync/) is a tool to
|
|
|
|
# synchronize AdGuardHome config to replica instances.
|
2021-04-10 10:16:29 +00:00
|
|
|
|
2023-04-26 00:53:18 +00:00
|
|
|
. ./.env
|
2021-04-10 10:16:29 +00:00
|
|
|
docker run -d \
|
|
|
|
--name=adguardhome-sync \
|
2022-04-02 00:45:58 +00:00
|
|
|
-e PUID=${PUID:-1024} `# for UserID` \
|
|
|
|
-e PGID=${PGID:-100} `# for GroupID` \
|
2023-02-26 14:51:38 +00:00
|
|
|
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
|
2021-04-10 10:16:29 +00:00
|
|
|
-e CONFIGFILE=/config/adguardhome-sync.yaml `# optional` `# Set a custom config file.` \
|
|
|
|
-p 8080:8080 `# Port for AdGuardHome Sync's web API.` \
|
|
|
|
-v ${BASEDIR:-/volume1/docker}/adguardhome-sync/config:/config `# Contains all relevant configuration files.` \
|
|
|
|
--restart unless-stopped \
|
|
|
|
ghcr.io/linuxserver/adguardhome-sync
|