Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker Image with Apache + PHP + Composer + Postfix
Full Description

docker-zend

Docker Image with Apache + PHP + Composer + Postfix

Includes:

  • MongoDb extension
  • MySql extension
  • npm
  • bower
  • grunt
  • ruby
  • compass

Example configuration

docker-compose.yml

Development

app:
    image: xhttpdev/docker-zend:dev
    ports:
        - "80:80"
    volumes:
        - /var/www/myapp:/var/www/html
    environment:
        docker_mail_domain: "mydomain.com"

Production

No Volume available

app:
    image: xhttpdev/docker-zend:latest
    ports:
        - "80:80"
    environment:
        docker_mail_domain: "mydomain.com"

OnBuild

copies current directory to /var/www/html and owner is changed to www-data

app:
    image: xhttpdev/docker-zend:onbuild
    ports:
        - "80:80"
    environment:
        docker_mail_domain: "mydomain.com"
Docker Pull Command
Owner
xhttpdev
Source Repository

Comments (0)