DockerComposeCollection

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 58879b91c197c8a63c9caaafff54881e76a3c418
parent 25d14b42e84f5316ae92f2bf7a72766cf8998934
Author: Minerva_juppiter <94231606+minerva-jupiter@users.noreply.github.com>
Date:   Mon, 14 Apr 2025 20:44:25 +0900

Create docker-compose.yml
Diffstat:
Agithub-runner/docker-compose.yml | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/github-runner/docker-compose.yml b/github-runner/docker-compose.yml @@ -0,0 +1,22 @@ +version: '3.8' + +services: + runner: + image: myoung34/github-runner:latest + environment: + ACCESS_TOKEN: ${PERSONAL_ACCESS_TOKEN} + RUNNER_WORKDIR: /tmp/runner/work + RUNNER_SCOPE: org + ORG_NAME: <GITHUB_ORG_NAME> + LABELS: self-hosted,Linux + restart: always + security_opt: + # needed on SELinux systems to allow docker container to manage other docker containers + - label:disable + volumes: + - '/var/run/docker.sock:/var/run/docker.sock' + # note: a quirk of docker-in-docker is that this path + # needs to be the same path on host and inside the container, + # docker mgmt cmds run outside of docker but expect the paths from within + deploy: + replicas: 10