mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
PHRAS-3336 add messages on entrypoint and phraseanet installation states
This commit is contained in:
@@ -49,7 +49,7 @@ if [ -f "$FILE" ]; then
|
|||||||
if [[ -n ${PHRASEANET_ADMIN_ACCOUNT_ID} && $PHRASEANET_ADMIN_ACCOUNT_ID =~ ^[0-9]+$ ]]; 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
|
bin/console user:password --user_id=$PHRASEANET_ADMIN_ACCOUNT_ID --password $PHRASEANET_ADMIN_ACCOUNT_PASSWORD -y
|
||||||
fi
|
fi
|
||||||
|
echo "config/configuration.yml update by Phraseanet entrypoint.sh Finished !"
|
||||||
else
|
else
|
||||||
echo "$FILE doesn't exist, entering setup..."
|
echo "$FILE doesn't exist, entering setup..."
|
||||||
|
|
||||||
@@ -62,6 +62,7 @@ else
|
|||||||
datas
|
datas
|
||||||
|
|
||||||
runuser app -c docker/phraseanet/auto-install.sh
|
runuser app -c docker/phraseanet/auto-install.sh
|
||||||
|
echo "End of Phraseanet Installation"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${XDEBUG_ENABLED} == "1" ]; then
|
if [ ${XDEBUG_ENABLED} == "1" ]; then
|
||||||
@@ -88,3 +89,4 @@ fi
|
|||||||
chown -R app:app datas &
|
chown -R app:app datas &
|
||||||
|
|
||||||
bash -e docker-php-entrypoint $@
|
bash -e docker-php-entrypoint $@
|
||||||
|
echo "Finished runnning Phraseanet entrypoint.sh"
|
Reference in New Issue
Block a user