From 2f5c7cde5890a3d742ae8d0efdd7d025da9a1808 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Fri, 4 Feb 2022 23:41:18 +0100 Subject: [PATCH] Add volume to stable site --- docker-compose.dev.yml | 2 +- docker-compose.stable.yml | 8 +++++++- public/projects | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 4e5dfb3..f7c1198 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -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: diff --git a/docker-compose.stable.yml b/docker-compose.stable.yml index 58b8a75..4590cf3 100644 --- a/docker-compose.stable.yml +++ b/docker-compose.stable.yml @@ -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: @@ -22,4 +26,6 @@ services: networks: traefik: - external: true \ No newline at end of file + external: true +volumes: + git_mask: \ No newline at end of file diff --git a/public/projects b/public/projects index 0496a88..ef76baa 160000 --- a/public/projects +++ b/public/projects @@ -1 +1 @@ -Subproject commit 0496a88b3610ce432d678bf6d2e418f72e537758 +Subproject commit ef76baafc9a7a3d857ccd5633af2c38debd29251