kubernetes #comment fpm stop on failure

This commit is contained in:
Alexandre BRACH
2019-09-27 16:28:49 +02:00
parent b66aae5047
commit b87ab0cd08
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
set -xe
chown -R app:app /var/alchemy/Phraseanet/config
FILE=/var/alchemy/Phraseanet/config/configuration.yml
if [ -f "$FILE" ]; then

View File

@@ -5,4 +5,4 @@ set -e
envsubst < /php.ini.sample > /usr/local/etc/php/php.ini
envsubst < /php-fpm.conf.sample > /usr/local/etc/php-fpm.conf
docker-php-entrypoint $@
bash -e docker-php-entrypoint $@