pages volume
This commit is contained in:
parent
b638b359bb
commit
3738d84250
2 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue