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"