Dashy custom & borg service

This commit is contained in:
Brieuc Dubois 2023-05-23 14:09:32 +02:00 committed by Bhasher
parent e020d91232
commit 1de6a913a9
6 changed files with 40 additions and 19 deletions

View File

@ -1,7 +1,7 @@
services: services:
dashy: dashy:
container_name: dashy container_name: dashy
image: lissy93/dashy image: dashy
environment: environment:
- NODE_ENV=production - NODE_ENV=production
restart: unless-stopped restart: unless-stopped
@ -15,6 +15,7 @@ services:
- "traefik.http.routers.dashy.tls=true" - "traefik.http.routers.dashy.tls=true"
- "traefik.http.routers.dashy.tls.certresolver=http" - "traefik.http.routers.dashy.tls.certresolver=http"
- "traefik.http.routers.dashy.middlewares=authelia@docker" - "traefik.http.routers.dashy.middlewares=authelia@docker"
- "com.centurylinklabs.watchtower.enable=false"
healthcheck: healthcheck:
test: ['CMD', 'node', '/app/services/healthcheck'] test: ['CMD', 'node', '/app/services/healthcheck']
interval: 1m30s interval: 1m30s

View File

@ -2,3 +2,12 @@ services:
tg2: tg2:
container_name: tg2 container_name: tg2
image: tg2:latest image: tg2:latest
environment:
- TGTG_EMAIL=tgtg.trash@bhasher.com
- TELEGRAM_TOKEN=${TELEGRAM_TOKEN}
- TELEGRAM_ID=${TELEGRAM_ID}
volumes:
- $DATA/tg2:/data
labels:
- "com.centurylinklabs.watchtower.enable=false"

View File

@ -12,7 +12,7 @@ services:
- TZ=Europe/Paris - TZ=Europe/Paris
- SERVERURL=vpn.bhasher.com - SERVERURL=vpn.bhasher.com
- SERVERPORT=51821 - SERVERPORT=51821
- PEERS=5 - PEERS=10
- PEERDNS=auto - PEERDNS=auto
- INTERNAL_SUBNET=10.13.14.0 - INTERNAL_SUBNET=10.13.14.0
- ALLOWEDIPS=0.0.0.0/0 - ALLOWEDIPS=0.0.0.0/0

View File

@ -0,0 +1,14 @@
[Unit]
Description=Start Borg Backup Container
After=docker.service
ConditionPathExists=/mnt/borg
[Service]
Type=oneshot
ExecStart=/usr/bin/docker start borg
User=pi
Group=pi
Restart=no
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Run Borg Backup at 4 a.m. every day
[Timer]
OnCalendar=*-*-* 04:00:00
Persistent=true
[Install]
WantedBy=timers.target

View File

@ -171,7 +171,8 @@ sections:
options: options:
country: BE country: BE
holidayType: all holidayType: all
monthsToShow: 12 monthsToShow: 4
lang: fr
id: 1_1554_publicholidays id: 1_1554_publicholidays
displayData: displayData:
sortBy: default sortBy: default
@ -193,7 +194,7 @@ sections:
options: options:
username: BhasherBEL username: BhasherBEL
hideLanguagesCard: true hideLanguagesCard: true
id: 2_1554_githubprofilestats id: 1_1331_githubprofilestats
- type: crypto-watch-list - type: crypto-watch-list
options: options:
currency: USD currency: USD
@ -201,20 +202,7 @@ sections:
assets: assets:
- bitcoin - bitcoin
- ethereum - ethereum
id: 1_1331_cryptowatchlist id: 2_1331_cryptowatchlist
- name: Monitoring
widgets:
- type: pi-hole-stats
options:
hostname: http://pihole/admin/api.php
apiKey: ''
id: 0_1062_piholestats
displayData:
sortBy: default
rows: 1
cols: 2
collapsed: false
hideForGuests: false
- name: Random - name: Random
widgets: widgets:
- type: joke - type: joke
@ -229,6 +217,6 @@ sections:
displayData: displayData:
sortBy: default sortBy: default
rows: 1 rows: 1
cols: 2 cols: 4
collapsed: false collapsed: false
hideForGuests: false hideForGuests: false