diff --git a/docker/pi5/docker-compose.yaml b/docker/pi5/docker-compose.yaml index 03d3271..3bf4a23 100755 --- a/docker/pi5/docker-compose.yaml +++ b/docker/pi5/docker-compose.yaml @@ -1,6 +1,5 @@ --- services: - portainer: image: portainer/portainer-ce:latest container_name: portainer @@ -102,6 +101,10 @@ services: - PGID=1000 network_mode: "service:gluetun" restart: always + depends_on: + gluetun: + condition: service_healthy + restart: true jellyfin: image: lscr.io/linuxserver/jellyfin:latest @@ -208,21 +211,24 @@ services: ports: - '3000:3000' - '222:22' - nginx: - image: nginx:latest - container_name: nginx-proxy + + nginx-proxy-manager: + image: jc21/nginx-proxy-manager:latest + container_name: nginx-proxy-manager ports: - "80:80" - "443:443" + - "81:81" volumes: - - /config/nginx/nginx.conf:/etc/nginx/nginx.conf - - /config/nginx/certs:/etc/nginx/certs + - /config/nginx/data:/data + - /config/nginx/letsencrypt:/etc/letsencrypt + restart: unless-stopped networks: forgejo: external: false - default: - external: true -# name: nginx-proxy-net + #default: + # external: true + volumes: model-cache: diff --git a/infra_conf/backup.sh b/infra_conf/backup.sh new file mode 100755 index 0000000..e00ef87 --- /dev/null +++ b/infra_conf/backup.sh @@ -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 $? diff --git a/infra_conf/backup_pi5.sh b/infra_conf/backup_pi5.sh new file mode 100755 index 0000000..8e8a5f9 --- /dev/null +++ b/infra_conf/backup_pi5.sh @@ -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 $? diff --git a/infra_conf/backups.pptx b/infra_conf/backups.pptx new file mode 100644 index 0000000..e2e32f2 Binary files /dev/null and b/infra_conf/backups.pptx differ diff --git a/infra_conf/home_backup.sh b/infra_conf/home_backup.sh new file mode 100755 index 0000000..e69de29