f274b9d03dc42dcfdf4c0c864712ff9e7d780a15
haproxy-letsencrypt-docker.md
| ... | ... | @@ -2,14 +2,14 @@ |
| 2 | 2 | <!-- SUBTITLE: This is 3 lines of bash when docker's not involved you know --> |
| 3 | 3 | |
| 4 | 4 | # What are we doing here? |
| 5 | -Let's set up HAProxywith some lovely free certs from [Let's Encrypt](https://letsencrypt.org/) via [certbot](https://certbot.eff.org/) for a couple of domains, each domain served from a different container, and all in docker. |
|
| 5 | +Let's set up HAProxywith some lovely free certs from [Let's Encrypt](https://letsencrypt.org/) via [certbot](https://certbot.eff.org/) for a couple of domains (or just one), each domain served from a different container, and all in docker. |
|
| 6 | 6 | |
| 7 | 7 | The rules: |
| 8 | 8 | * Everything running in docker, and all tied together with docker-compose. |
| 9 | 9 | * No k8s, no swarm, just one woman/man/other and one host/VM/other. Comfortable. Oldskool. |
| 10 | 10 | * 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. |
| 11 | 11 | |
| 12 | -I'll use 'domain1.example.com' and 'domain2.example.com' as example domains. The domain1 site would be served from a container called 'container1', and domain2 from 'container2' You might have more, or less, but edit as appropriate with your own. You'll need real actual internet resolvable domains to run through this. |
|
| 12 | +I'll use 'domain1.example.com' and 'domain2.example.com' as example domains. The domain1 site would be served from a container called 'container1', and domain2 from 'container2' You might have more, or less, but edit as appropriate with your own or delete as you see fit. You'll need real actual internet resolvable domains to run through this. |
|
| 13 | 13 | |
| 14 | 14 | This wiki you're reading is set up very similarly to the below - the running config is on [my home-network repo](https://github.com/ilikejam/home-network). |
| 15 | 15 |