|
před 1 rokem | |
---|---|---|
backups | před 2 roky | |
.gitignore | před 2 roky | |
README.md | před 2 roky | |
backup | před 2 roky | |
backup_prune | před 2 roky | |
docker-compose.yml | před 1 rokem |
This is how I run gitea.
I do it this way because I prioritize;
docker-compose up -d --build
Upgrade gitea by changing the version in the docker-compose.yml
and running docker-compose pull && docker-compose up -d
You can do whatever preferred method to back up the contents of docker volumes to back up the gitea-data
folder.
However gitea has their own backup & restore method you should consiter.
I have created a backup
script to create backups and drop them in the ./backups
folder. I use this to run from cron.