Public | Automated Build

Last pushed: a year ago
Short Description
Docker PHP
Full Description

PHP

Versions Links

Examples

More Examples

#docker-compose.yml example

web:
  image: 4devnull/php:5.6-apache
  environment:
    PHP_MODULES: amqp memcached mongo opcache redis ssh2 xdebug yaml
    PHP: |
      ;php.ini
      display_errors = On
      opcache.enable = 1
    APACHE_MODULES: rewrite expires rpaf geoip
    APACHE: |
      # apache.conf
      DocumentRoot /var/www/html
      <Directory /var/www/html/private>
          Require all denied
          Allowoverride None
      </Directory>
    PRE_INIT: |
      log "initialize container"
    POST_INIT: |
      log "ready"
    PRE_RUN: |
      log "start service apache"
Docker Pull Command
Owner
4devnull
Source Repository