Skip to content

Using docker compose to handle self-hosted GitHub runner

Notifications You must be signed in to change notification settings

xpirit-training/docker-compose-gha-runner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Runner

This project uses Docker Compose to manage scaled GitHub self-hosted Runner instances.

Prerequisites

  • Docker
  • Docker Compose

Usage

Ubuntu

  • Make sure you adjust the ubuntu/.env file to your needs.

  • To start the runners in the ubuntu directory, adjust the ubuntu/docker-compose.yml file to your needs and run the following command:

    docker-compose -f ubuntu/docker-compose.yml up -d --build
  • To stop the runners in the ubuntu directory:

    docker-compose -f ubuntu/docker-compose.yml down

Ubuntu-Dind

  • Make sure you adjust the ubuntu-dind/.env file to your needs.

  • To start the runners in the ubuntu-dind directory, adjust the ubuntu-dind/docker-compose.yml file to your needs and run the following command:

    docker-compose -f ubuntu-dind/docker-compose.yml up -d --build
  • To stop the runners in the ubuntu-dind directory:

    docker-compose -f ubuntu-dind/docker-compose.yml down

About

Using docker compose to handle self-hosted GitHub runner

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 53.2%
  • Shell 46.8%