From 3738d842509ff6a6d2b011fde9e714e88077e480 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Sat, 29 Jun 2024 01:52:31 -0700 Subject: [PATCH] pages volume --- forgejo/runner/config.yaml | 2 +- forgejo/runner/docker-compose.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/forgejo/runner/config.yaml b/forgejo/runner/config.yaml index 5b0c41d..f55d4df 100644 --- a/forgejo/runner/config.yaml +++ b/forgejo/runner/config.yaml @@ -64,7 +64,7 @@ container: # Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-D> privileged: false # And other options to be used when the container is started (eg, --add-host=my.forgejo.url:host-gateway). - options: '--volume /artifacts:/artifacts' + options: '--volume /artifacts:/artifacts --volume /pages:/pages' # The parent directory of a job's working directory. # If it's empty, /workspace will be used. workdir_parent: diff --git a/forgejo/runner/docker-compose.yaml b/forgejo/runner/docker-compose.yaml index 95afda9..3fe86d0 100644 --- a/forgejo/runner/docker-compose.yaml +++ b/forgejo/runner/docker-compose.yaml @@ -13,6 +13,7 @@ services: restart: 'unless-stopped' volumes: - /home/forgejo-runner/artifacts:/artifacts + - /var/www/pages:/pages gitea: image: 'code.forgejo.org/forgejo/runner:3.4.1' @@ -29,6 +30,7 @@ services: volumes: - /home/forgejo-runner/data:/data - /home/forgejo-runner/artifacts:/artifacts + - /var/www/pages:/pages restart: 'unless-stopped' expose: - "8080"