mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 01:43:13 +00:00
kubernetes #comment fpm stop on failure
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
chown -R app:app /var/alchemy/Phraseanet/config
|
chown -R app:app /var/alchemy/Phraseanet/config
|
||||||
FILE=/var/alchemy/Phraseanet/config/configuration.yml
|
FILE=/var/alchemy/Phraseanet/config/configuration.yml
|
||||||
if [ -f "$FILE" ]; then
|
if [ -f "$FILE" ]; then
|
||||||
|
@@ -5,4 +5,4 @@ set -e
|
|||||||
envsubst < /php.ini.sample > /usr/local/etc/php/php.ini
|
envsubst < /php.ini.sample > /usr/local/etc/php/php.ini
|
||||||
envsubst < /php-fpm.conf.sample > /usr/local/etc/php-fpm.conf
|
envsubst < /php-fpm.conf.sample > /usr/local/etc/php-fpm.conf
|
||||||
|
|
||||||
docker-php-entrypoint $@
|
bash -e docker-php-entrypoint $@
|
||||||
|
Reference in New Issue
Block a user