This repository contains the Docker Compose files required to deploy the Gitea instance running at git.itsrye.dev.
To deploy this you need to first set up the env files and the secrets files.
./environment/cf.env./environment/db.env./environment/gitea.env
/environment/secrets/db_password.txt
Note: Ensure that the secrets directory is protected on your system (e.g., using chmod 600 on the files).
To deploy the server just run:
docker compose up -dThe stack will start in the background and manage itself according to the configuration.
Do not commit secrets to this repository.
The provided .gitignore rules help prevent accidental commits, but be mindful of this if you fork the project, however at that point, it becomes your responsibility.
The .gitignore files are configured as follows:
In the repository root:
*.env
.envand in the environment dir
*.env
!.gitignore
!.gitkeepand in the environment/secrets dir:
*
!.gitignore