Update config.yml

This commit is contained in:
Florian Hoss 2025-06-06 10:38:46 +02:00
parent b68e7c002e
commit 3c579ee98e
Signed by: flohoss
GPG key ID: 3F35C7F6E6F66F6B

View file

@ -10,7 +10,7 @@ defaults:
- key: APPDATA_PATH - key: APPDATA_PATH
value: '/mnt/user/appdata' value: '/mnt/user/appdata'
- key: REPOSITORIES - key: REPOSITORIES
value: 'directus forgejo hedgedoc media paperless godash synapse traefik vaultwarden rallly freshrss' value: 'forgejo hedgedoc media paperless godash synapse traefik vaultwarden freshrss'
jobs: jobs:
- name: Cleanup - name: Cleanup
@ -26,12 +26,6 @@ jobs:
cron: '0 4 * * 0' cron: '0 4 * * 0'
commands: commands:
- command: for repo in ${REPOSITORIES}; do restic -r ${BASE_REPOSITORY}/$repo unlock; done - command: for repo in ${REPOSITORIES}; do restic -r ${BASE_REPOSITORY}/$repo unlock; done
- name: Directus
envs:
- key: RESTIC_REPOSITORY
value: ${BASE_REPOSITORY}/directus
commands:
- command: restic backup ${APPDATA_PATH}/directus
- name: Forgejo - name: Forgejo
envs: envs:
- key: RESTIC_REPOSITORY - key: RESTIC_REPOSITORY
@ -85,14 +79,6 @@ jobs:
value: ${BASE_REPOSITORY}/vaultwarden value: ${BASE_REPOSITORY}/vaultwarden
commands: commands:
- command: restic backup ${APPDATA_PATH}/vaultwarden - command: restic backup ${APPDATA_PATH}/vaultwarden
- name: Rallly
envs:
- key: RESTIC_REPOSITORY
value: ${BASE_REPOSITORY}/rallly
commands:
- command: docker exec -e PASSWORD=password rallly-db pg_dumpall --username=postgres > ${APPDATA_PATH}/rallly/.dbBackup.sql
- command: chmod 600 ${APPDATA_PATH}/rallly/.dbBackup.sql
- command: restic backup ${APPDATA_PATH}/rallly
- name: Freshrss - name: Freshrss
envs: envs:
- key: RESTIC_REPOSITORY - key: RESTIC_REPOSITORY