Sign inSign up

c2is/debian-apache2-mod-php5

By c2is

•Updated over 8 years ago

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

Image
0

1.0K

c2is/debian-apache2-mod-php5 repository overview

⁠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/⁠

Tag summary

Content type

Image

Digest

Size

151.9 MB

Last updated

over 8 years ago

docker pull c2is/debian-apache2-mod-php5