Docker Compose for gitea
Gitea is an open-source version control system written in Go.
Boot the stack:
make up
Once it starts it will create the admin user (default: gitea_admin
/ password
) and then it will read the registration token from the api. You can retrieve the token value using:
docker compose logs -f configure-gitea | grep '"token"'
The token value can then be added in the gitea-runner
's environment:
gitea-runner:
environment:
- GITEA_RUNNER_REGISTRATION_TOKEN=<token-value>
Save that and run make up
again and your gitea act runner should be registered.
Name | Description | Port |
---|---|---|
gitea | gitea-web ui port | 3000 |
gitea-ssh port | 222 |