mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
cleanup repo
This commit is contained in:
3
examples/adguard-home-sync/README.md
Normal file
3
examples/adguard-home-sync/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# References
|
||||
|
||||
- https://github.com/bakito/adguardhome-sync
|
||||
21
examples/adguard-home-sync/docker-compose.yml
Normal file
21
examples/adguard-home-sync/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "2.1"
|
||||
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:
|
||||
- /mnt/docker-volumes/adguard-home-sync:/config
|
||||
Reference in New Issue
Block a user