Merge branch 'master' of ssh://gitea.adminakademia.pl:2222/adminakademia/docker
This commit is contained in:
commit
1cbe605e91
44
docker-compose/adguardhome-sync/adguardhome-sync.yaml
Normal file
44
docker-compose/adguardhome-sync/adguardhome-sync.yaml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# cron expression to run in daemon mode. (default; "" = runs only once)
|
||||||
|
cron: "*/10 * * * *"
|
||||||
|
|
||||||
|
# runs the synchronisation on startup
|
||||||
|
runOnStart: true
|
||||||
|
|
||||||
|
origin:
|
||||||
|
# url of the origin instance
|
||||||
|
url: https://192.168.1.2:3000
|
||||||
|
# apiPath: define an api path if other than "/control"
|
||||||
|
# insecureSkipVerify: true # disable tls check
|
||||||
|
username: username
|
||||||
|
password: password
|
||||||
|
|
||||||
|
# replica instance (optional, if only one)
|
||||||
|
replica:
|
||||||
|
# url of the replica instance
|
||||||
|
url: http://192.168.1.3:1080
|
||||||
|
username: username
|
||||||
|
password: password
|
||||||
|
|
||||||
|
# Configure the sync API server, disabled if api port is 0
|
||||||
|
api:
|
||||||
|
# Port, default 8080
|
||||||
|
port: 8080
|
||||||
|
# if username and password are defined, basic auth is applied to the sync API
|
||||||
|
username: username
|
||||||
|
password: password
|
||||||
|
|
||||||
|
# Configure sync features; by default all features are enabled.
|
||||||
|
features:
|
||||||
|
generalSettings: true
|
||||||
|
queryLogConfig: true
|
||||||
|
statsConfig: true
|
||||||
|
clientSettings: true
|
||||||
|
services: true
|
||||||
|
filters: true
|
||||||
|
dhcp:
|
||||||
|
serverConfig: true
|
||||||
|
staticLeases: true
|
||||||
|
dns:
|
||||||
|
serverConfig: true
|
||||||
|
accessLists: true
|
||||||
|
rewrites: true
|
17
docker-compose/adguardhome-sync/adguardsync.yml
Normal file
17
docker-compose/adguardhome-sync/adguardsync.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
adguardhome-sync:
|
||||||
|
image: ghcr.io/bakito/adguardhome-sync
|
||||||
|
container_name: adguardhome-sync
|
||||||
|
command: run --config /config/adguardhome-sync.yaml
|
||||||
|
volumes:
|
||||||
|
- /docker/adguardhome-sync/adguardhome-sync.yaml:/config/adguardhome-sync.yaml
|
||||||
|
ports:
|
||||||
|
- 8100:8080
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
|
############
|
||||||
|
## Wiecej informacji:
|
||||||
|
## https://github.com/bakito/adguardhome-sync
|
||||||
|
############
|
23
docker-compose/adguardhome-sync/adguardsync2.yml
Normal file
23
docker-compose/adguardhome-sync/adguardsync2.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
adguardhome-sync:
|
||||||
|
image: quay.io/bakito/adguardhome-sync
|
||||||
|
container_name: adguardhome-sync
|
||||||
|
command: run
|
||||||
|
environment:
|
||||||
|
- ORIGIN_URL=http://192.168.1.2:1080 # adres kontenera z AdguardHome numer 1
|
||||||
|
- ORIGIN_USERNAME=admin # login do AdguardHome numer 1
|
||||||
|
- ORIGIN_PASSWORD=MojeHasloDoAdguardHome1 #haslo na dostepowe w AdguardHome numer 1
|
||||||
|
- REPLICA_URL=http://192.168.1.3:3000 # adres kontenera z AdguardHome numer 2
|
||||||
|
- REPLICA_USERNAME=admin # login do AdguardHome numer 2
|
||||||
|
- REPLICA_PASSWORD=MojeHasloDoAdguardHome2 #haslo na dostepowe w AdguardHome numer 2
|
||||||
|
- CRON=*/10 * * * * # uruchamianie synchronizacji co 10 minut
|
||||||
|
- RUNONSTART=true
|
||||||
|
ports:
|
||||||
|
- 8100:8080
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
############
|
||||||
|
## Wiecej informacji:
|
||||||
|
## https://github.com/bakito/adguardhome-sync
|
||||||
|
############
|
Loading…
x
Reference in New Issue
Block a user