Created
April 24, 2024 10:42
-
-
Save trungdlp-wolffun/7a67360ea47b2f51793cfc4e780c5438 to your computer and use it in GitHub Desktop.
Github Runner Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
services: | |
runner: | |
image: myoung34/github-runner:ubuntu-focal | |
restart: always | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment: | |
RUNNER_SCOPE: repo | |
# RUNNER_NAME_PREFIX: myrunner | |
LABELS: storage | |
REPO_URL: https://github.com/orgs/repo-name | |
EPHEMERAL: 1 | |
RUNNER_TOKEN: xxxxxxxxxxxxxxx | |
deploy: | |
replicas: 5 | |
# resources: | |
# limits: | |
# cpus: '1' | |
# memory: 1G | |
# reservations: | |
# cpus: '0.2' | |
# memory: 256M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment