Sign inSign up

c2is/debian-apache

By c2is

•Updated over 6 years ago

Apache on stretch with ssl key/cert for domain *.dev.acti

Image
0

1.2K

c2is/debian-apache repository overview

⁠Acti container for Debian stretch Apache 2.4

⁠Usage
⁠Edit your /etc/hosts file and add the line:
127.0.0.1 projectname.dev.acti

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
apache:
    image: c2is/debian-apache
    ports:
        - 80:80
    environment:
        # Default: website.dev.acti
        - WEBSITE_HOST=projectname.dev.acti
        # Default: no, DocumentRoot have not the trailing /web/
        - SYMFONY_VHOST_COMPLIANT="no"
        - CERTIFICAT_CNAME=projectname.dev.acti
⁠With docker directly
git clone [email protected]:c2is/docker-debian-apache.git
cd docker-debian-apache
docker build -t . c2isDebAp
docker run -d -e WEBSITE_HOST=projectname.dev.acti -e SYMFONY_VHOST_COMPLIANT=yes c2isDebAp
⁠Then crawl you application : http://projectname.dev.acti/⁠

Tag summary

Content type

Image

Digest

Size

89.8 MB

Last updated

over 7 years ago

docker pull c2is/debian-apache