- Clone repository to your server
git clone https://github.com/TourmalineCore/self-hosted-runner --depth 1- Copy
inner-circle-prod-ssh(without .pub) file that was created in inner-circle-cloud repo folder to the 'Docker Image' folder and rename it tossh-key. - Copy
.inner-circle-cluster-external-kubeconfigfile that was created in inner-circle-env repo folder at the VM to theDocker Imagefolder and rename it tokubeconfig - Create a copy of
.env.example, name it.envand write your variables like in the given example
REPO=TourmalineCore
REG_TOKEN=ATLGSKZGN2EN1SDTH11RUN5GOATX5
NAME=black-server-ubuntu-24.04-x64-01-runner
CLOUD_IP=192.54.219.45
CLOUD_USER=ubuntu
CLUSTER_PORT=6443
- Add docker group identifier to .env
echo DOCKER_GID=$(stat -c '%g' /var/run/docker.sock) >> .env-
Configure count of runner replicas and resources in
docker-compose.yml -
Start runners by executing the following command:
docker compose up --detach --build