Public Repository

Last pushed: 2 years ago
Short Description
php web server image. php5.6,phalcon2.0,composer,git,nginx1.9,,etc
Full Description

env

Required
  • PHP_APP_ENV
    config file suffix. if you have config_prod.php in phalcon project, PHP_APP_ENV must be "prod".
  • NGINX_DOCUMENT_ROOT
    absotule path to nginx document root.
    /var/www/xxxx/xxx
  • NGINX_ERROR_LOG_LEVEL
    debug | info | notice | warn | error | crit | alert | emerg. see nginx official document.
Optional
  • PHP_MEMORY_LIMIT
    memory_limit in php.ini. default 256M. ex. 1G
  • PHP_REALPATH_CACHE_SIZE
    realpath_cache_size in php.ini. default 16K. ex. 32K
  • PHP_REALPATH_CACHE_SIZE
    realpath_cache_ttl in php.ini default 120. ex. 60
  • AUTH_BASIC_USER
    basic authorization user name. if you don't need this, use "".
  • AUTH_BASIC_PASS
    basic authorization password. if you don't need this, use "".
  • AWS_ACCESS_KEY_ID
    aws IAM access key. if you don't need it, blank or ""
  • AWS_SECRET_ACCESS_KEY
    aws IAM secret key. same as upper.
  • NGINX_ACCESS_LOG_TO
    fluentd server and port where nginx access log is send to by tcp socket. ex. "10.254.50.11:22222"
  • NGINX_ERROR_LOG_TO
    fluentd server and port where nginx errog log is send to by tcp socket. ex. "10.254.50.11:22223"
  • PHALCON_LOG_TO
    fluentd server and port where phalcon log is send to by tcp socket. ex. "10.254.50.11:22224"
  • CROSS_DOMAIN_ACCEPT
    if you use ajax and access to outer domain by ajax, use "*". if not, ""
  • SYSLOG_MAX_MESSAGE_SIZE
    if you extends size of each syslog message, use this. ex. 16K
  • FPM_REQUEST_TERMINATE_TIMEOUT
    php-fpm request_terminate_timeout. ex 120
  • FPM_SLOWLOG
    php-fpm slowlog. FPM_SLOWLOG and FPM_SLOWLOG_TIMEOUT is pair parameter. ex /var/log/fpm-slow.log
  • FPM_SLOWLOG_TIMEOUT
    php-fpm request_slowlog_timeout. FPM_SLOWLOG and FPM_SLOWLOG_TIMEOUT is pair parameter. ex 10s
  • PHP_MAX_EXECUTION_TIME
    max_execution_time of php.ini. default 30
  • NGINX_FASTCGI_READ_TIMEOUT
    fastcgi_read_timeout of nginx.conf default 60s
  • NGINX_CLIENT_MAX_BODY_SIZE
    nginx parameter. default ??
  • PHP_UPLOAD_MAX_FILESIZE
    default 8M
  • PHP_POST_MAX_SIZE
    default 8M
  • SSL_CERTIFICATE
    if you want to use SSL(https://xxxx), add SSL certification path.maybe you also need mount directory where there are certificate files
  • SSL_CERTIFICATE_KEY
    if you want to use SSL private key, you mast add ssl certification address. maybe you also need mount directory where there are certificate files
  • SSL_PORT
    optional. default 443

port

80,443

privileged

true

Docker Pull Command
Owner
keisukesatomi