From f67af2f452e6a95104b075aad188a35be2bffada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 16 Nov 2023 19:11:41 +0100 Subject: [PATCH] gitearunner: fix and enable --- docker-compose.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5101fd7..73f2b05 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -713,17 +713,21 @@ services: depends_on: - gitea volumes: - - "${DOCKER_STORAGE_PATH}/gitearunner:/config" + - "${DOCKER_STORAGE_PATH}/gitearunner/config:/config" + - "${DOCKER_STORAGE_PATH}/gitearunner/data:/data" - /var/run/docker.sock:/var/run/docker.sock environment: - GITEA_INSTANCE_URL=https://git.${DOMAIN} + - CONFIG_FILE=/config/config.yaml # When using Docker Secrets, it's also possible to use # GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location. # The env var takes precedence - - GITEA_RUNNER_REGISTRATION_TOKEN=oR2H1CfFz7hZFU3h8S4y7Ia9jdRf0wgxBxz9TjtW - - GITEA_LABELS="ubuntu-latest:docker://catthehacker/ubuntu:act-latest" + - GITEA_RUNNER_REGISTRATION_TOKEN=92U7bIiADtqkILwjjj9rffjz8vyNp0zo7uaOgrIG + - GITEA_RUNNER_LABELS="ubuntu-latest:docker://catthehacker/ubuntu:act-latest" + - GITEA_RUNNER_NAME="NAS_CONTAINER" profiles: - - disabled + - base + - infrastructure restart: unless-stopped linkace: