6ec60978fa493e182316bd340ae675602d70eff3
haproxy-letsencrypt-docker.md
| ... | ... | @@ -3,9 +3,10 @@ |
| 3 | 3 | |
| 4 | 4 | # What are we doing here? |
| 5 | 5 | Let's set up [HAProxy](https://www.haproxy.org/) with some lovely free certs from [Let's Encrypt](https://letsencrypt.org/) via [certbot](https://certbot.eff.org/) for a couple of domains, each domain fronted by a different container. |
| 6 | -Everything running in [docker](https://www.docker.com), and all tied together with [docker-compose](https://docs.docker.com/compose/). |
|
| 7 | -No k8s, no swarm, just one woman/man/other and one host/VM/other. Old-ish skool. |
|
| 8 | -We'll use [docker user-defined networks](https://docs.docker.com/v17.09/engine/userguide/networking/#user-defined-networks), because that's the Right Thing To Do here. |
|
| 6 | + |
|
| 7 | +* Everything running in [docker](https://www.docker.com), and all tied together with [docker-compose](https://docs.docker.com/compose/). |
|
| 8 | +* No k8s, no swarm, just one woman/man/other and one host/VM/other. Old-ish skool. |
|
| 9 | +* We'll use [docker user-defined networks](https://docs.docker.com/v17.09/engine/userguide/networking/#user-defined-networks), because that's the Right Thing To Do here. |
|
| 9 | 10 | |
| 10 | 11 | I'll use 'domain1.example.com' and 'domain2.example.com' as the domains involved. The domain1 site is served from a container called 'container1', and domain2 from 'container2' You might have more. Or less. Edit as appropriate. |
| 11 | 12 |