Commit Graph

8 Commits

Author SHA1 Message Date
Dan Mirsky
b766b7c4bc Fixes to support renewal with docker's new networking
Added new replacement variable for nginx-secure: ___NAMESERVER___. This
is parsed out from the system resolv.conf and used to resolve the
ip's of the containers dynamically
Modified nginx-secure.conf to resolve certbot dynamically
NOTE: if using `docker-compose run certbot ...`, set `--name certbot` so it
can be resolved properly
Added CMD /start.sh back in, guessing it was removed by accident
2016-07-25 13:14:18 -07:00
Dan Mirsky
5827e7fdb2 Changed nginx confs for dockers new networking
Docker got rid of legacy links so there are no longer env vars pointing
to other containers. Instead, we can reference the containers directly.
This fixes problems with let's encrypt related to missing env vars.
See notice at the top of
https://docs.docker.com/compose/link-env-deprecated/
2016-06-19 00:46:14 -07:00
Daniel Roy Greenfeld
a6c803aaeb Combine RUN commands 2016-06-11 21:22:35 -07:00
Daniel Roy Greenfeld
a65a750464 Switch use_certbot to the MUCH more explicit use_letsencrypt 2016-06-05 13:17:19 -07:00
mjsisley
60bfc7afa1 remove typo /start.sh 2016-06-03 17:07:07 -07:00
mjsisley
4b05499d49 swap COPY to ADD in nginx Dockerfile 2016-06-03 08:39:45 -07:00
mjsisley
b8e02d2189 Add certbot(letsencrypt) support for docker 2016-06-03 08:07:39 -07:00
Audrey Roy Greenfeld
15f350f05e Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00