fix: backups jobs and better documentation

This commit is contained in:
2025-11-27 23:52:49 +00:00
parent b82d26f01d
commit ee4afed826
4 changed files with 20 additions and 16 deletions

View File

@@ -5,41 +5,45 @@ Welcome to public repository of my [Git Server](https://git.limbosolutions.com)
Using [gitea](https://git.limbosolutions.com/kb/gitea) as git server.
- [Deploy](#deploy)
- [App Deploy](#app-deploy)
- [Environment files](#environment-files)
- [App](#app)
- [Continuous Deploy](#continuous-deploy)
- [Infra Deploy](#infra-deploy)
- [Deploy all](#deploy-all)
- [Infra](#infra)
- [All](#all)
- [Backups](#backups)
## Deploy
### App Deploy
### Environment files
[Requires environment variables](./manifests/app/cronjobs/backups/.env.example).
*Can be set creating file ./manifests/app/cronjobs/backups/.env with values.*
- /.deploy/app/cronjobs/backups/.env.d/secrets [Example:](./deploy/app/cronjobs/backups/.env.d/secrets.example).
- /.deploy/app/cronjobs/backups/.env.d/borg_key [Example:](./deploy/app/cronjobs/backups/.env.d/borg_key.example).
- /.deploy/app/cronjobs/backups/.env.d/id_rsa [Example:](./deploy/app/cronjobs/backups/.env.d/id_rsa.example).
### App
```bash
./deploy-scripts/apply-app.sh
./deploy/apply-app.sh
```
- [Manifests](/manifests/infra)
- [kustomization](/deploy/app/kustomization.yaml)
### Continuous Deploy
Executes [App Deploy](#app-deploy) using an [Gitea workflow](./.gitea/workflows/app-deploy.yaml).
Executes [App Deploy](#app) using an [Gitea workflow](./.gitea/workflows/app-deploy.yaml).
### Infra Deploy
### Infra
```bash
./deploy-scripts/apply-infra.sh
./deploy/apply-infra.sh
```
- [Manifests](/manifests/app)
- [kustomization](/deploy/infra/kustomization.yaml)
### Deploy all
### All
```bash
./deploy-scripts/apply.sh
./deploy/apply.sh
```
## Backups