Set up backups

This commit is contained in:
D. Scott Boggs 2023-06-27 15:59:26 +00:00
parent 63f64bfb7a
commit 1126158cb8
2 changed files with 8 additions and 0 deletions

7
.env.pg Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
# this is for the backup cron job, NOT for the docker-compose.yml
POSTGRES_PASSWORD=$(< $HOME/git/.pg.pw)
POSTGRES_USER=gitea
POSTGRES_DB=gitea

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
db/
config/
data/
backup-pgdump.sql