mirror of
https://github.com/friendica/docker
synced 2025-04-05 19:43:12 +02:00
Merge pull request #248 from nupplaphil/feat/error_reporting
Use production ready php.ini per default
This commit is contained in:
commit
4a709045b0
11 changed files with 11 additions and 0 deletions
|
@ -147,6 +147,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -128,6 +128,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -147,6 +147,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -147,6 +147,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -128,6 +128,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -147,6 +147,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -147,6 +147,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -128,6 +128,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -147,6 +147,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -127,6 +127,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
|
@ -146,6 +146,7 @@ RUN set -ex; \
|
||||||
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; \
|
||||||
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; \
|
||||||
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
} > /usr/local/etc/php/conf.d/friendica.ini; \
|
||||||
|
ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini; \
|
||||||
\
|
\
|
||||||
mkdir /var/www/data; \
|
mkdir /var/www/data; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue