From 8f6007c28d51277b527da2fdc3f99fdb267dbe80 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 12 Feb 2024 23:24:14 -0800 Subject: [PATCH] #120 Create second runner for dind --- druid/config/gitea/docker-compose.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/druid/config/gitea/docker-compose.yml b/druid/config/gitea/docker-compose.yml index 30e3950..0cfd0f4 100644 --- a/druid/config/gitea/docker-compose.yml +++ b/druid/config/gitea/docker-compose.yml @@ -35,9 +35,26 @@ services: volumes: - postgres_data:/var/lib/postgresql/data - runner: + runner-dind: image: gitea/act_runner:latest-dind-rootless - container_name: gitea_runner + container_name: gitea_runner-dind + depends_on: + - gitea + env_file: + - path: ./runner.env + required: true + - path: ./runner_secrets.env + required: false + networks: + - gitea + volumes: + - ./runner_config.yaml:/config.yaml + - $DOCKER_DATA/runner:/data + - /var/run/docker.sock:/var/run/docker.sock + + runner: + image: gitea/act_runner:latest + container_name: gitea_runner-ubuntu depends_on: - gitea env_file: