Add volume to stable site

This commit is contained in:
Daniel Kluge 2022-02-04 23:41:18 +01:00
parent 914b0a6ab6
commit 2f5c7cde58
3 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,7 @@ services:
image: localhost:5000/c0ntroller.de:dev
restart: always
volumes:
# Relative paths are located in the tmp folder where the projet is clones
# Relative paths are located in the tmp folder where the project is cloned
- /srv/website/projects:/app/public/projects:ro
- git_mask:/app/public/projects/.git
networks:

View File

@ -4,6 +4,10 @@ services:
server:
image: localhost:5000/c0ntroller.de:latest
restart: always
volumes:
# Relative paths are located in the tmp folder where the project is cloned
- /srv/website/projects:/app/public/projects:ro
- git_mask:/app/public/projects/.git
networks:
- traefik
labels:
@ -23,3 +27,5 @@ services:
networks:
traefik:
external: true
volumes:
git_mask:

@ -1 +1 @@
Subproject commit 0496a88b3610ce432d678bf6d2e418f72e537758
Subproject commit ef76baafc9a7a3d857ccd5633af2c38debd29251