From 251b183c19be1fc12b5b0d5ffe5cbeaf330d4cee Mon Sep 17 00:00:00 2001 From: criz Date: Sun, 7 Sep 2025 01:36:17 +0200 Subject: [PATCH] oupss add readonly --- Containers/Rsync/compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Containers/Rsync/compose.yml b/Containers/Rsync/compose.yml index e28e436..cfffe5f 100644 --- a/Containers/Rsync/compose.yml +++ b/Containers/Rsync/compose.yml @@ -14,34 +14,43 @@ services: - type: bind source: /mnt/backupSD/Medias target: /dest/Medias + read_only: true # Immich folder - type: bind source: /home/criz/SelfHosting/Containers/Immich/library target: /source/Immich + read_only: true - type: bind source: /mnt/backupSD/Immich target: /dest/Immich + read_only: true # Nextcloud - type: bind source: /home/criz/SelfHosting/Containers/NextCloud/nextcloud_data/data/Crizomb/files target: /source/NextCloud + read_only: true - type: bind source: /mnt/backupSD/NextCloud target: /dest/NextCloud + read_only: true # Forgejo - type: bind source: /home/criz/SelfHosting/Containers/Forgejo/forgejo/git target: /source/Forgejo/git + read_only: true - type: bind source: /home/criz/SelfHosting/Containers/Forgejo/forgejo/gitea target: /source/Forgejo/gitea + read_only: true - type: bind source: /mnt/backupSD/Forgejo/git target: /dest/Forgejo/git + read_only: true - type: bind source: /mnt/backupSD/Forgejo/gitea target: /dest/Forgejo/gitea + read_only: true environment: - CRON_TASK_1=0 3 * * * rsync -a --delete /source/Medias/ /dest/Medias/