Sign inSign up

jamsheer/2cloud-docker-php

By jamsheer

•Updated almost 8 years ago

Ubuntu 16.04 running Nginx 1.9 and PHP 5.6.30

Image
0

897

jamsheer/2cloud-docker-php repository overview

⁠2cloud-docker-php

Ubuntu 16.04 running Nginx 1.9 and PHP 5.6.30

⁠Configuration Options

Most configuration can be done with environment variables. Here are the available options;

EnvironmentDefaultDescription
ENABLE_CRONOffEnables crond, add your cron jobs to /etc/crontab
PHP_OPCACHE_VALIDATEOnForces OPcache to check for updates on every request, turn Off for production
PHP_TIMEZONEEurope/LondonSpecify the PHP date.timezone
PHP_MAX_CHILDREN30Specify the maximum number of concurrent PHP processes
NGINX_SSLOffOn - Enables HTTP/2 in Nginx
Reduced - Enables HTTP/2 with support for older (i.e. Java7) clients
High - Enables HTTP/2 without TLS v1.0 (for PCI DSS 3.1 Compliance)
NGINX_HSTSOffEnable [HSTS] (http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security⁠)
SMTP_HOST-Set SMTP hostname (uses MSMTP for sendmail)
SMTP_PORT-Set SMTP port
SMTP_USER-Set SMTP username
SMTP_FROM-Set SMTP envelope-from header
SMTP_PASS-Set SMTP password
SMTP_TLSOffEnable TLS support, by default STARTTLS is enabled on port 587
SMTP_CHECK_CERTSOnSpecifying Off will disable SMTP TLS certificate checks

⁠PHP extensions

⁠Ioncube

To enable ioncube, simply add the following line to your Dockerfile:

RUN sed -i 1i"zend_extension = ioncube.so" /usr/local/etc/php/php.ini

Tag summary

Content type

Image

Digest

Size

185.9 MB

Last updated

almost 8 years ago

docker pull jamsheer/2cloud-docker-php