PHRAS-3336 add messages on entrypoint and phraseanet installation states

This commit is contained in:
Moctar
2021-01-14 19:28:19 +01:00
parent 94f6a70774
commit e857d28c6f

View File

@@ -49,7 +49,7 @@ if [ -f "$FILE" ]; then
if [[ -n ${PHRASEANET_ADMIN_ACCOUNT_ID} && $PHRASEANET_ADMIN_ACCOUNT_ID =~ ^[0-9]+$ ]]; then
bin/console user:password --user_id=$PHRASEANET_ADMIN_ACCOUNT_ID --password $PHRASEANET_ADMIN_ACCOUNT_PASSWORD -y
fi
echo "config/configuration.yml update by Phraseanet entrypoint.sh Finished !"
else
echo "$FILE doesn't exist, entering setup..."
@@ -62,6 +62,7 @@ else
datas
runuser app -c docker/phraseanet/auto-install.sh
echo "End of Phraseanet Installation"
fi
if [ ${XDEBUG_ENABLED} == "1" ]; then
@@ -88,3 +89,4 @@ fi
chown -R app:app datas &
bash -e docker-php-entrypoint $@
echo "Finished runnning Phraseanet entrypoint.sh"