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
# 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
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