mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-06 02:23:03 +00:00
feat(service): gitea runner (#9961)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# documentation: https://github.com/go-gitea/gitea
|
||||
# category: devtools
|
||||
# slogan: Gitea Actions runner for docker
|
||||
# tags: gitea,actions,runner,docker
|
||||
# logo: svgs/gitea.svg
|
||||
|
||||
services:
|
||||
runner:
|
||||
image: 'docker.io/gitea/runner:1.0.0'
|
||||
environment:
|
||||
- 'GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL}'
|
||||
- 'GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}'
|
||||
- 'GITEA_RUNNER_NAME=${GITEA_RUNNER_NAME:-gitea-runner}'
|
||||
- 'GITEA_RUNNER_LABELS=${GITEA_RUNNER_LABELS:-ubuntu-latest:docker://node:22}'
|
||||
- 'GITEA_TOKEN=${GITEA_TOKEN}'
|
||||
working_dir: /data
|
||||
volumes:
|
||||
- 'runner-data:/data'
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "ps aux | grep '[R]unner' > /dev/null || exit 1"
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 15
|
||||
Reference in New Issue
Block a user