Set up backups
This commit is contained in:
parent
63f64bfb7a
commit
1126158cb8
7
.env.pg
Normal file
7
.env.pg
Normal 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
1
.gitignore
vendored
|
@ -3,3 +3,4 @@
|
||||||
db/
|
db/
|
||||||
config/
|
config/
|
||||||
data/
|
data/
|
||||||
|
backup-pgdump.sql
|
||||||
|
|
Loading…
Reference in a new issue