Gitea Actions runner fails to connect after restart
The act_runner process fails to reconnect to Gitea after a server restart, requiring manual token regeneration.
Resolutions (1)
high confidence 18 verified
Add a restart delay and health check to your docker-compose:
act_runner:
depends_on:
gitea:
condition: service_healthy
restart: unless-stopped
Add a health check to the Gitea service to ensure it's fully ready before the runner starts.
Applies to: 1.22, 1.23 on docker