Added pihole exporter

Updated some NFS data
This commit is contained in:
2023-07-23 12:52:53 +00:00
parent 49ccb10708
commit 680fedaae0
4 changed files with 37 additions and 4 deletions
+21 -2
View File
@@ -13,6 +13,12 @@ volumes:
o: addr=maurice,nfsvers=4
device: :/repositories
nc_storage:
driver_opts:
type: nfs
o: addr=maurice,nfsvers=4
device: :/nextcloud_storage
# bands:
# driver_opts:
# type: nfs
@@ -42,17 +48,30 @@ services:
repositories:
image: registry.vbchaos.nl/rclone:arm64
environment:
- COMMAND=rclone copy -v /backup/ stackstorage:/git
- COMMAND=rclone copy -v /backup/ stackstorage:/repositories
- CRON_SCHEDULE=0 1 * * *
configs:
- source: stackstorage
target: /config/rclone.conf
volumes:
- repositories:/backup
- repo:/backup
deploy:
mode: replicated
replicas: 1
nc_storage:
image: registry.vbchaos.nl/rclone:arm64
environment:
- COMMAND=rclone copy -v /backup/ stackstorage:/nextcloud_storage
- CRON_SCHEDULE=0 2 * * *
configs:
- source: stackstorage
target: /config/rclone.conf
volumes:
- nc_storage:/backup
deploy:
mode: replicated
replicas: 1
# bands:
# image: registry.vbchaos.nl/rclone:arm64
+1 -1
View File
@@ -12,7 +12,7 @@ volumes:
driver_opts:
type: nfs
o: addr=maurice,nfsvers=4
device: :/git
device: :/repositories/git
services:
server:
+1 -1
View File
@@ -5,7 +5,7 @@ volumes:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/dockerstorage/grafana/prometheus
device: :/grafana_prometheus_data
grafana_data:
driver_opts:
+14
View File
@@ -0,0 +1,14 @@
version: '3.3'
services:
pihole-exporter:
image: remiflandrois/pihole-exporter:latest
environment:
- PIHOLE_HOSTNAME=192.168.1.8
- PIHOLE_PASSWORD=14Mai1984
- INTERVAL=5s
- PORT=9617
ports:
- 9617:9617
restart: always