From 6f02b59ccc2b5ccb0a3a440633f77560e55a9064 Mon Sep 17 00:00:00 2001 From: pedro Date: Mon, 18 Mar 2024 14:28:30 +0100 Subject: [PATCH] bugfix non oidc instances --- docker/idhub.entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/idhub.entrypoint.sh b/docker/idhub.entrypoint.sh index c871ca8..21b601a 100755 --- a/docker/idhub.entrypoint.sh +++ b/docker/idhub.entrypoint.sh @@ -37,7 +37,9 @@ deployment_strategy() { else # this file helps all docker containers to guess number of hosts involved # right now is only needed by new deployment for oidc - touch /sharedsecret/${DOMAIN} + if [ -d "/sharedsecret" ]; then + touch /sharedsecret/${DOMAIN} + fi # move the migrate thing in docker entrypoint # inspired by https://medium.com/analytics-vidhya/django-with-docker-and-docker-compose-python-part-2-8415976470cc