merge phraseanet-docker repo to this one

This commit is contained in:
Arthur de Moulins
2020-02-21 12:03:35 +01:00
parent f80506f55e
commit 924b7d1b8e
17 changed files with 9455 additions and 126 deletions

View File

@@ -1,4 +1,9 @@
#!/bin/bash
if [ ${XDEBUG_ENABLED} == "1" ]; then
echo "XDEBUG is enabled. YOU MAY KEEP THIS FEATURE DISABLED IN PRODUCTION."
docker-php-ext-enable xdebug
fi
mkdir /var/alchemy/Phraseanet/tmp/locks && chown -R app:app /var/alchemy/Phraseanet/tmp
runuser app -c 'php /var/alchemy/Phraseanet/bin/console task-manager:scheduler:run'