The repo I use to run gitea and caddy all in docker
Go to file
Amelia A fff63903bf
add watchtower
Signed-off-by: Amelia Aronsohn <>
2023-08-11 20:48:32 -07:00
backups Add the backups folder 2018-08-22 00:13:25 -07:00
.gitignore Remove the old data folder 2018-08-22 00:48:05 -07:00 Remove caddy docker, I'm running elsewhere 2018-12-02 19:55:28 -08:00
backup backups now require the git user 2018-11-08 12:40:20 -08:00
backup_prune Add checking if we have enough backups 2018-11-08 12:51:41 -08:00
docker-compose.yml add watchtower 2023-08-11 20:48:32 -07:00

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.