Add a Nginx template using a dynamic hostname from .env

This commit is contained in:
Vincent Letourneau
2017-09-18 18:49:29 +02:00
parent 58613a90e3
commit df3560700b
5 changed files with 84 additions and 28 deletions

View File

@@ -53,7 +53,7 @@ docker-stop:
@make clean
gen-certs:
@docker run --rm -v $(shell pwd)/etc/ssl:/certificates -e "SERVER=localhost" jacoelho/generate-certificate
@docker run --rm -v $(shell pwd)/etc/ssl:/certificates -e "SERVER=$(NGINX_HOST)" jacoelho/generate-certificate
logs:
@docker-compose logs -f