mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
21 lines
768 B
YAML
21 lines
768 B
YAML
services:
|
|
|
|
adguardhome-sync:
|
|
image: linuxserver/adguardhome-sync
|
|
container_name: adguardhome-sync
|
|
hostname: adguardhome-sync
|
|
environment:
|
|
- ORIGIN_URL=http://10.10.10.10:8080 # your main adguard instance for synchronization
|
|
- ORIGIN_USERNAME=admin1
|
|
- ORIGIN_PASSWORD=password1
|
|
- REPLICA_URL=http://20.20.20.20:8080 # your replica adguard instance to be synced with main instance
|
|
- REPLICA_USERNAME=admin2
|
|
- REPLICA_PASSWORD=password2
|
|
- CRON=*/30 * * * * # run every 30 minute; see https://crontab.guru/
|
|
- RUNONSTART=true
|
|
- TZ=Europe/Berlin
|
|
- PUID=1000
|
|
- PGID=1000
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/adguard-home-sync:/config |