Signed-off-by: Amelia Aronsohn <firstname.lastname@example.org>
|3 years ago|
|backups||4 years ago|
|.gitignore||4 years ago|
|README.md||4 years ago|
|backup||4 years ago|
|backup_prune||4 years ago|
|docker-compose.yml||3 years ago|
Gitea in Gitea
This is how I run gitea.
I do it this way because I prioritize;
- minimal maintence
- Install docker
- Run with
docker-compose up -d --build
- Optionally put a webserver in front for ssl, I use caddy
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
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.