diff --git a/Dockerfile b/Dockerfile index b456a2db..c597a4a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ RUN rm -rf node_modules/ #copy all the rest of the app COPY . /var/www/html #install all php dependencies +RUN chown -R docker:docker secretStorage USER docker RUN composer install USER root diff --git a/docker-compose.yml b/docker-compose.yml index 2fd9bffe..13d2d171 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -103,7 +103,7 @@ services: - "traefik.http.services.app-odc.loadbalancer.sticky.cookie.secure=true" volumes: - datenschutzcenter_uploads:/var/www/html/public/uploads:rw - - datenschutzcenter_secret_storage:/var/www/html/public/uploads:rw + - datenschutzcenter_secret_storage:/var/www/html/secretStorage:rw - datenschutzcenter_data:/var/www/html/public/data:rw - $PWD/dockerupdate.sh:/etc/container/startup.sh diff --git a/templates/base/__sidenav.html.twig b/templates/base/__sidenav.html.twig index eb035543..318c7adf 100644 --- a/templates/base/__sidenav.html.twig +++ b/templates/base/__sidenav.html.twig @@ -77,9 +77,9 @@
  • {% trans %}reports{% endtrans %}
  • -
  • - {% trans %}external{% endtrans %} -
  • +{#
  • #} +{# {% trans %}external{% endtrans %}#} +{#
  • #} {% endif %} {% if app.user.akademieUser %}
  • @@ -111,9 +111,9 @@
  • {% trans %}externalDsb{% endtrans %}
  • -
  • - {% trans %}import{% endtrans %} -
  • +{#
  • #} +{# {% trans %}import{% endtrans %}#} +{#
  • #} {% endif %}