gitea: add config
This commit is contained in:
parent
fe35e4baf1
commit
56faa4323b
17 changed files with 354 additions and 13 deletions
7
roles/gitea/files/gitea.postgres.backup.sh
Normal file
7
roles/gitea/files/gitea.postgres.backup.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd /etc/gitea
|
||||
|
||||
/usr/bin/docker compose exec -T db pg_dump -U gitea gitea |
|
||||
/usr/bin/gzip --rsyncable |
|
||||
/usr/local/bin/restic backup --stdin --stdin-filename gitea-postgres.sql.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue