From bd25568c5a4709238f626bf6371fe774b0b629b6 Mon Sep 17 00:00:00 2001 From: giles Date: Fri, 20 Oct 2023 11:28:15 +0100 Subject: [PATCH] added an act-runner --- docker-compose.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4a273e4..1159d76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,15 +24,23 @@ services: - GITEA_MAILER_FROM=$GITEA_MAILER_FROM - GITEA_MAILER_PASSWD=$GITEA_MAILER_PASSWD - GITEA_MAILER_PROTOCOL=$GITEA_MAILER_PROTOCOL - volumes: - gitea-app:/data ports: - - 3000:3000 - 22:22 networks: - appnet - externalnet + act-runner: + deploy: + placement: + constraints: [node.labels.com.sigyl.git-stack == yes] + replicas: 1 + restart_policy: + condition: any + image: gitea/act_runner:latest + networks: + - appnet volumes: gitea-app: