This description is relevant for the version latest and for the latter
!!! P.s.: for stability in assemblies, use the exact tag
User and group by default: id - 777, name - "dev"
In build: php-fpm, php-cli, composer
version: '3.7'
configs:
phpfpm:
file: ./php.ini
services:
phpfpm:
image: mallgroup/phpfpm:tag
configs:
- source: phpfpm
target: /usr/local/etc/php/php.ini
environment:
PHP_OPCACHE_ENABLE: 1
PHP_OPCACHE_VALIDATE_TIMESTAMPS: 1
PHP_OPCACHE_REVALIDATE_FREQ: 0 # for develop = 0
PHP_OPCACHE_MAX_ACCELERATED_FILES: 10000
PHP_OPCACHE_MEMORY_CONSUMPTION: 256
PHP_OPCACHE_INTERNED_STRINGS_BUFFER: 16
[opcache]
opcache.enable=${PHP_OPCACHE_ENABLE}
opcache.memory_consumption=${PHP_OPCACHE_MEMORY_CONSUMPTION}
opcache.interned_strings_buffer=${PHP_OPCACHE_INTERNED_STRINGS_BUFFER}
opcache.max_accelerated_files=${PHP_OPCACHE_MAX_ACCELERATED_FILES}
opcache.validate_timestamps=${PHP_OPCACHE_VALIDATE_TIMESTAMPS}
opcache.revalidate_freq=${PHP_OPCACHE_REVALIDATE_FREQ}
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
hash
iconv
imagick
json
libxml
mbstring
mongodb
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
SimpleXML
sockets
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
Content type
Image
Digest
sha256:d8f94e1e9…
Size
269.1 MB
Last updated
4 months ago
docker pull mallgroup/phpfpm