Skip to content

Docker container for Debian Jessie Apache 2.4 And Php 5.6 (apache module)

Notifications You must be signed in to change notification settings

c2is/docker-debian-apache2-mod-php5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C2is container for Debian Jessie Apache 2.4 And Php 5.6 (apache module)

Usage

Edit your /etc/hosts file and add the line:
127.0.0.1 projectname.loc

Host value could be changed according your choice below
Warning for macosx and windows users : ip value should be changed according your Docker's VM ip

With docker-compose (use image already built from docker's hub)
# In your docker-compose.yml file
c2isapachephp:
    image: c2is/debian-apache2-mod-php5
    ports:
        - 80:80
    environment:
        # Default: website.docker
        - WEBSITE_HOST=projectname.loc
        # Default: no, DocumentRoot have not the trailing /web/
        - SYMFONY_VHOST_COMPLIANT="no"
        - CERTIFICAT_CNAME=projectname.loc
        - SMTP_HOST=mail.provider.com
        - [email protected]
        - SMTP_PASSWORD=singingintherain
With docker directly
git clone [email protected]:c2is/docker-debian-apache2-mod-php5.git
cd docker-debian-apache2-mod-php5
docker build -t . c2isDebAp
docker run -d -e WEBSITE_HOST=projectname.loc -e SYMFONY_VHOST_COMPLIANT=yes c2isDebAp
Then crawl you application : http://website.docker/

About

Docker container for Debian Jessie Apache 2.4 And Php 5.6 (apache module)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages