This commit is contained in:
2023-08-17 20:40:09 +02:00
4 changed files with 80 additions and 42 deletions
+25 -25
View File
@@ -17,13 +17,13 @@ volumes:
driver_opts: driver_opts:
type: nfs type: nfs
o: addr=maurice,nfsvers=4 o: addr=maurice,nfsvers=4
device: :/nextcloud_storage device: :/nextcloud
# bands: bands:
# driver_opts: driver_opts:
# type: nfs type: nfs
# o: addr=julien,nfsvers=3 o: addr=maurice,nfsvers=4
# device: :/Bands device: :/bands
configs: configs:
@@ -34,8 +34,8 @@ services:
dockerstorage: dockerstorage:
image: registry.vbchaos.nl/rclone:arm64 image: registry.vbchaos.nl/rclone:arm64
environment: environment:
- COMMAND=rclone copy -v /backup/ stackstorage:/dockerstorage - COMMAND=rclone copy -v /backup/ stackstorage:/maurice/dockerstorage
- CRON_SCHEDULE=0 0 * * * - CRON_SCHEDULE=0 0-23/4 * * *
configs: configs:
- source: stackstorage - source: stackstorage
target: /config/rclone.conf target: /config/rclone.conf
@@ -48,8 +48,8 @@ services:
repositories: repositories:
image: registry.vbchaos.nl/rclone:arm64 image: registry.vbchaos.nl/rclone:arm64
environment: environment:
- COMMAND=rclone copy -v /backup/ stackstorage:/repositories - COMMAND=rclone copy -v /backup/ stackstorage:/maurice/repositories
- CRON_SCHEDULE=0 1 * * * - CRON_SCHEDULE=0 1-23/4 * * *
configs: configs:
- source: stackstorage - source: stackstorage
target: /config/rclone.conf target: /config/rclone.conf
@@ -62,8 +62,8 @@ services:
nc_storage: nc_storage:
image: registry.vbchaos.nl/rclone:arm64 image: registry.vbchaos.nl/rclone:arm64
environment: environment:
- COMMAND=rclone copy -v /backup/ stackstorage:/nextcloud_storage - COMMAND=rclone copy -v /backup/ stackstorage:/maurice/nextcloud
- CRON_SCHEDULE=0 2 * * * - CRON_SCHEDULE=0 2-23/4 * * *
configs: configs:
- source: stackstorage - source: stackstorage
target: /config/rclone.conf target: /config/rclone.conf
@@ -73,16 +73,16 @@ services:
mode: replicated mode: replicated
replicas: 1 replicas: 1
# bands: bands:
# image: registry.vbchaos.nl/rclone:arm64 image: registry.vbchaos.nl/rclone:arm64
# environment: environment:
# - COMMAND=rclone copy -v /backup/ stackstorage:/testbackup - COMMAND=rclone copy -v /backup/ stackstorage:/maurice/bands
# - CRON_SCHEDULE=* 0 2 * * * - CRON_SCHEDULE=0 3-23/4 * * *
# configs: configs:
# - source: stackstorage - source: stackstorage
# target: /config/rclone.conf target: /config/rclone.conf
# volumes: volumes:
# - bands:/backup - bands:/backup
# deploy: deploy:
# mode: replicated mode: replicated
# replicas: 1 replicas: 1
+8 -8
View File
@@ -28,14 +28,14 @@ configs:
services: services:
loki: # loki:
image: grafana/loki:2.6.1 # image: grafana/loki:2.6.1
user: "0:0" # user: "0:0"
volumes: # volumes:
- loki_data:/loki # - loki_data:/loki
ports: # ports:
- "3100:3100" # - "3100:3100"
command: -config.file=/etc/loki/local-config.yaml # command: -config.file=/etc/loki/local-config.yaml
promtail: promtail:
image: grafana/promtail:2.6.1 image: grafana/promtail:2.6.1
+11 -8
View File
@@ -1,14 +1,17 @@
version: '3.3' version: '3.3'
services: services:
pihole-exporter: pihole-exporter:
image: remiflandrois/pihole-exporter:latest image: ekofr/pihole-exporter:latest
environment: # image: remiflandrois/pihole-exporter:latest
- PIHOLE_HOSTNAME=192.168.1.8 container_name: pihole_exporter
- PIHOLE_PASSWORD=14Mai1984
- INTERVAL=5s
- PORT=9617
ports: ports:
- 9617:9617 - 9617:9617
restart: always environment:
PIHOLE_HOSTNAME: 192.168.1.8
PIHOLE_PORT: 80
PIHOLE_PASSWORD: 14Mai1984
INTERVAL: 5s
PORT: 9617
+35
View File
@@ -0,0 +1,35 @@
version: "3"
volumes:
swag_data:
driver_opts:
type: nfs
o: addr=dockerstorage,nfsvers=4
device: :/dockerstorage/swag
services:
swag:
image: lscr.io/linuxserver/swag:latest
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=100
- TZ=Etc/UTC
- URL=vbchaos.nl
- VALIDATION=http
- SUBDOMAINS=nc,git,grafana #optional
- CERTPROVIDER= #optional
- DNSPLUGIN=cloudflare #optional
- PROPAGATION= #optional
- EMAIL= matthias.mitscherlich@gmail.com
- ONLY_SUBDOMAINS=false #optional
- EXTRA_DOMAINS= #optional
- STAGING=false #optional
volumes:
- swag_data:/config
ports:
- 443:443
- 80:80 #optional
restart: unless-stopped