Using Certbot with Docker-Compoes

Please edit your post using backticks for code.

```
Like this
```

That said, if you want to install certbot via pip, there are instructions on the website: Certbot Instructions | Certbot

(You need to use a venv)

But there's a docker image for certbot itself, if you need it. It's certbot/certbot -- just be extra careful and don't run it without configuring its volumes well. (Also: it can't reload other containers without some hacking)

https://eff-certbot.readthedocs.io/en/stable/install.html#running-with-docker

2 Likes