How to generate gitea runner token from command line in a docker-compose based setup
See our previous post Gitea Docker-Compose Config With Traefik And PostgreSQL
for details on our docker-compose
configuration.
Assuming your Gitea container is named gitea
, you can simply use this command:
docker-compose exec gitea gitea actions generate-runner-token