Repositories | Polyback | Log in to see private repositories


polyback-website / b0d92d543d33db09acbae728aa0eb9b4a0a682ce / container/entrypoint.sh

200 bytes | parent directory

#!/bin/sh
set -e
if [ ! -f /var/www/polygonshared/config.php ]; then
    echo "FATAL: /var/www/polygonshared/config.php is missing (mount it)" >&2
    exit 1
fi
php-fpm -D
exec nginx -g 'daemon off;'