The repo I use to run gitea and caddy all in docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Amelia A 6c2b1e82ec
Update to latest compose
5 months ago
backups Add the backups folder 5 years ago
.gitignore Remove the old data folder 5 years ago Remove caddy docker, I'm running elsewhere 4 years ago
backup backups now require the git user 4 years ago
backup_prune Add checking if we have enough backups 4 years ago
docker-compose.yml Update to latest compose 5 months ago

Gitea in Gitea

This is how I run gitea.

I do it this way because I prioritize;

  • simplicity
  • minimal maintence
  • portability



  1. Install docker
  2. Run with docker-compose up -d --build
  3. 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

Data safety

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.