pages volume
All checks were successful
/ test (push) Successful in 1s
/ test2 (push) Successful in 1s

This commit is contained in:
sneakers-the-rat 2024-06-29 01:52:31 -07:00
parent b638b359bb
commit 3738d84250
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
2 changed files with 3 additions and 1 deletions

View file

@ -64,7 +64,7 @@ container:
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-D> # Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-D>
privileged: false privileged: false
# And other options to be used when the container is started (eg, --add-host=my.forgejo.url:host-gateway). # 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. # The parent directory of a job's working directory.
# If it's empty, /workspace will be used. # If it's empty, /workspace will be used.
workdir_parent: workdir_parent:

View file

@ -13,6 +13,7 @@ services:
restart: 'unless-stopped' restart: 'unless-stopped'
volumes: volumes:
- /home/forgejo-runner/artifacts:/artifacts - /home/forgejo-runner/artifacts:/artifacts
- /var/www/pages:/pages
gitea: gitea:
image: 'code.forgejo.org/forgejo/runner:3.4.1' image: 'code.forgejo.org/forgejo/runner:3.4.1'
@ -29,6 +30,7 @@ services:
volumes: volumes:
- /home/forgejo-runner/data:/data - /home/forgejo-runner/data:/data
- /home/forgejo-runner/artifacts:/artifacts - /home/forgejo-runner/artifacts:/artifacts
- /var/www/pages:/pages
restart: 'unless-stopped' restart: 'unless-stopped'
expose: expose:
- "8080" - "8080"