2a4898ad0262e7a20925786666ed3faf8e6dc02c
haproxy-letsencrypt-docker.md
| ... | ... | @@ -27,7 +27,7 @@ Your docker host should have docker and docker-compose installed, and docker run |
| 27 | 27 | |
| 28 | 28 | # Stage 1 - get some certs |
| 29 | 29 | Since this is a greenfield setup, we can let certbot take care of the initial cert request on its own - HAProxy should be down for this. |
| 30 | -The Dockerfile for the letsencrypt image looks like: |
|
| 30 | +The `Dockerfile` for the letsencrypt image looks like: |
|
| 31 | 31 | |
| 32 | 32 | ```dockerfile |
| 33 | 33 | FROM ubuntu:latest |
| ... | ... | @@ -44,7 +44,7 @@ RUN chmod +x /deploy-hook |
| 44 | 44 | |
| 45 | 45 | Note we're installing the docker.io package, and copying in a script. We'll need them later on. |
| 46 | 46 | |
| 47 | -The deploy-hook script looks like: |
|
| 47 | +The `deploy-hook` script looks like: |
|
| 48 | 48 | |
| 49 | 49 | ```sh |
| 50 | 50 | #!/usr/bin/env bash |
| ... | ... | @@ -55,7 +55,7 @@ cat /etc/letsencrypt/live/domain1.example.com/fullchain.pem \ |
| 55 | 55 | && docker kill -s HUP haproxy |
| 56 | 56 | ``` |
| 57 | 57 | |
| 58 | -To run the container, we'll wrap it up in a docker-compose file called docker-compose-stage1.yml. |
|
| 58 | +To run the container, we'll wrap it up in a docker-compose file called `docker-compose-stage1.yml`. |
|
| 59 | 59 | |
| 60 | 60 | ```yaml |
| 61 | 61 | version: '3' |