Compare commits
4 commits
581df49bde
...
e877284fe9
| Author | SHA1 | Date | |
|---|---|---|---|
| e877284fe9 | |||
| 99435250bb | |||
| 8e3c5efacb | |||
| 305c7a4614 |
5 changed files with 42 additions and 9 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
|
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce:latest
|
image: portainer/portainer-ce:latest
|
||||||
container_name: portainer
|
container_name: portainer
|
||||||
|
|
@ -102,6 +101,10 @@ services:
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
network_mode: "service:gluetun"
|
network_mode: "service:gluetun"
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
gluetun:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: true
|
||||||
|
|
||||||
jellyfin:
|
jellyfin:
|
||||||
image: lscr.io/linuxserver/jellyfin:latest
|
image: lscr.io/linuxserver/jellyfin:latest
|
||||||
|
|
@ -208,21 +211,24 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- '3000:3000'
|
||||||
- '222:22'
|
- '222:22'
|
||||||
nginx:
|
|
||||||
image: nginx:latest
|
nginx-proxy-manager:
|
||||||
container_name: nginx-proxy
|
image: jc21/nginx-proxy-manager:latest
|
||||||
|
container_name: nginx-proxy-manager
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
- "81:81"
|
||||||
volumes:
|
volumes:
|
||||||
- /config/nginx/nginx.conf:/etc/nginx/nginx.conf
|
- /config/nginx/data:/data
|
||||||
- /config/nginx/certs:/etc/nginx/certs
|
- /config/nginx/letsencrypt:/etc/letsencrypt
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
forgejo:
|
forgejo:
|
||||||
external: false
|
external: false
|
||||||
default:
|
#default:
|
||||||
external: true
|
# external: true
|
||||||
# name: nginx-proxy-net
|
|
||||||
volumes:
|
volumes:
|
||||||
model-cache:
|
model-cache:
|
||||||
|
|
|
||||||
9
infra_conf/backup.sh
Executable file
9
infra_conf/backup.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DestDir="/mnt/data/backups/arch-griffix/griffix/"
|
||||||
|
|
||||||
|
rsync -avuz --exclude ".local/share/Steam" --exclude "Games" --exclude "Téléchargements" /home/griffix/ $DestDir
|
||||||
|
rsync -avuz /mnt/pi5data/backups/pi5 /mnt/data/backups/
|
||||||
|
rsync -avuz /mnt/pi5data/backups/immich /mnt/data/backups/
|
||||||
|
rsync -avuz --exclude ".local/share/Steam" --exclude "Games" --exclude "Téléchargements" /home/griffix /mnt/pi5data/backups/
|
||||||
|
exit $?
|
||||||
18
infra_conf/backup_pi5.sh
Executable file
18
infra_conf/backup_pi5.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DestDir="/media/Seagate/backups/pi5/config/"
|
||||||
|
|
||||||
|
echo "docker compose stop"
|
||||||
|
docker compose -f /config/compose.yaml stop
|
||||||
|
|
||||||
|
echo "rsync /config"
|
||||||
|
rsync -avuz /config/ $DestDir
|
||||||
|
|
||||||
|
echo "rsync immich"
|
||||||
|
rsync -avuz /media/Seagate/immich /media/Seagate/backups/immich
|
||||||
|
|
||||||
|
echo "docker compose start"
|
||||||
|
docker compose -f /config/compose.yaml start
|
||||||
|
|
||||||
|
echo "done"
|
||||||
|
exit $?
|
||||||
BIN
infra_conf/backups.pptx
Normal file
BIN
infra_conf/backups.pptx
Normal file
Binary file not shown.
0
infra_conf/home_backup.sh
Executable file
0
infra_conf/home_backup.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue