mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-18 12:14:07 +00:00
feat: gitea runner template
This commit is contained in:
1 parent
84b0f9ba7a
commit
1942be9320
3 files changed
+57
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# documentation: https://github.com/go-gitea/gitea
|
||||
# category: devtools, runers
|
||||
# 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"
|
||||
restart: unless-stopped
|
||||
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
|
||||
volumes:
|
||||
runner-data: null
|
||||
Reference in new issue
Block a user