Supported configuration parameters that may be set using environment variables while running container (or may be defined in docker-compose.yml):
date.timezone - PHP_DATE_TIMEZONEdisplay_errors - PHP_DISPLAY_ERRORSmemory_limit - PHP_MEMORY_LIMITmax_execution_time - PHP_MAX_EXECUTION_TIMEpost_max_size - PHP_POST_MAX_SIZEupload_max_filesize - PHP_UPLOAD_MAX_FILESIZEdate.timezone and memory_limit configuration:# /.env
PHP_DATE_TIMEZONE=Europe/Warsaw
PHP_MEMORY_LIMIT=256M
# /docker-compose.yml
version: '2'
services:
php:
image: meritoo/php7
environment:
PHP_DATE_TIMEZONE: ${PHP_DATE_TIMEZONE}
PHP_MEMORY_LIMIT: ${PHP_MEMORY_LIMIT}
# (...)
Content type
Image
Digest
Size
311.3 MB
Last updated
over 5 years ago
docker pull meritoo/php7