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>
|
# 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:
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue