add nginx-php image

This commit is contained in:
Wonderfall committed 2017-04-25 21:49:24 +02:00
1 parent 850408fc90
commit 63a523a088
13 files changed
+478

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
mkdir -p /php/php-fpm.d /php/logs /php/run
sed -i -e 's/<UPLOAD_MAX_SIZE>/$UPLOAD_MAX_SIZE' \
-e 's/<MEMORY_LIMIT>/$PHP_MEMORY_LIMIT' \
/usr/local/etc/php-fpm.conf
chown -R $UID:GID /php /usr/local/etc/php-fpm.conf