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