Last active
April 30, 2023 17:22
-
-
Save yudapc/83f3ee67fdd29793a7d0f1e91570ee1f to your computer and use it in GitHub Desktop.
Certbot Generate Certificate Using Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose run certbot certonly -d example.com --manual --preferred-challenges dns --dry-run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
certbot: | |
image: certbot/certbot | |
volumes: | |
- ./scripts/certbot/etc-letsencrypt:/etc/letsencrypt | |
- ./scripts/certbot/var-lib-letsencrypt:/var/lib/letsencrypt | |
- ./scripts/certbot/var-log-letsencrypt:/var/log/letsencrypt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment