Dockerized solution for setting up a self-hosted GitHub Actions runner. Inspired from youssefbrr/self-hosted-runner
- Docker Compose Setup: Easily deploy self-hosted runners using Docker Compose.
- Customizable: Use the provided Docker image or build your own using the Dockerfile.
- Scalable: Deploy multiple runner replicas with resource constraints.
- Cross-Platform: Support for Linux, macOS, and Windows environments.
LICENSE: The license file for this project.README.md: The documentation file you are currently reading.docker-compose.yml: The Docker Compose file to deploy the self-hosted runner on Linux.
- Docker
- Docker Compose
-
Clone the repository:
git clone https://github.com/Neomediatech/self-hosted-runner.git cd self-hosted-runner -
Edit the
docker-compose.ymlfile to specify your repository, registration token, and runner name. -
Deploy the self-hosted runner:
docker-compose up -d
-
Clone the repository:
git clone https://github.com/Neomediatech/self-hosted-runner.git cd self-hosted-runner -
Build the Docker image:
cd Docker Image docker build -t custom-github-runner:latest ./ -
Edit the
docker-compose.ymlfile to use your custom image. -
Deploy the self-hosted runner:
docker-compose up -d
REPO: The GitHub repository to register the runner to (format:<owner>/<repo>).REG_TOKEN: The registration token for the self-hosted runner from the GitHub repository settings.NAME: The name of the self-hosted runner.