From ed8d038f7769eb45bdba26513a3c12c98131f4d8 Mon Sep 17 00:00:00 2001 From: Frank Thomschke Date: Sun, 26 May 2024 22:33:12 +0200 Subject: [PATCH] docker: added optional safe share pvc --- .../docker/repository/build/service/src/main/build/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archetypes/project/src/main/resources/archetype-resources/deploy/docker/repository/build/service/src/main/build/Dockerfile b/archetypes/project/src/main/resources/archetype-resources/deploy/docker/repository/build/service/src/main/build/Dockerfile index 22bcacbb..13f61ff1 100644 --- a/archetypes/project/src/main/resources/archetype-resources/deploy/docker/repository/build/service/src/main/build/Dockerfile +++ b/archetypes/project/src/main/resources/archetype-resources/deploy/docker/repository/build/service/src/main/build/Dockerfile @@ -174,6 +174,7 @@ COPY --chown=worker:worker shared tomcat/shared/ RUN set -eux \ && chown -RL worker:worker alf_data \ + && chown -RL worker:worker alf_safe \ && chown -RL worker:worker tomcat/conf \ && chown -RL worker:worker tomcat/shared \ && chown -RL worker:worker tomcat/webapps \ @@ -207,7 +208,7 @@ EXPOSE 8009 8080 8081 ENTRYPOINT ["entrypoint.sh"] CMD [ "/opt/bitnami/scripts/tomcat/run.sh" ] -VOLUME [ "/opt/alfresco/alf_data", "/opt/bitnami/tomcat/shared/classes/config/cluster", "/opt/bitnami/tomcat/shared/classes/config/node" ] +VOLUME [ "/opt/alfresco/alf_data", "/opt/alfresco/alf_safe", "/opt/bitnami/tomcat/shared/classes/config/cluster", "/opt/bitnami/tomcat/shared/classes/config/node" ] ########################################################################################################################