bugfix non oidc instances

This commit is contained in:
pedro 2024-03-18 14:28:30 +01:00
parent 87cfaa2adb
commit 6f02b59ccc

View file

@ -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