Open tngflx opened 5 years ago
If you are storing the volume, then it will save and not re-request it. However, if you are removing the container, it will be forced to make a new volume when it is making a new container.
Since the suggested method is using Docker volumes, you can change it to a folder on your computer. That way, even if the container is removed, it will still reference the same folder with the same cert.
I keep hitting the letsencrypt rate limit. When I do a docker-compose down, it removes the container. I didn't know this would mess up my certs. Now I have to wait a week until I can get more certs. Using the volume should not be recommended. I'll use a directory from now on.
volumes:
# this mapped volume allows the certificate to be reused across builds (stored on host):
- /etc/letsencrypt:/etc/letsencrypt
How can I stop certbot from requesting new cert if it's already requested before. Each time I reran my docker container it will rerequest again. And each domain name have a limit of attached cert