A simple letsencrypt container (webroot and standalone)
100K+
eilandert/letsencrypt is a tiny, security-hardened ACME client image for
issuing and renewing free TLS certificates from Let's Encrypt (and any ACME CA).
It is the certificate-automation piece of the
deb.myguard.nl container stack, feeding fresh certs
to the nginx, angie, postfix and dovecot images.
docker-compose.ymlservices:
acme:
image: eilandert/letsencrypt:latest
restart: unless-stopped
read_only: true
cap_drop: [ALL]
security_opt:
- no-new-privileges:true
volumes:
- certs:/etc/letsencrypt # issued certs (shared, read-only elsewhere)
- ./acme-webroot:/var/www/acme # HTTP-01 challenge dir
environment:
- [email protected]
- ACME_DOMAINS=example.com,www.example.com
web:
image: eilandert/angie:latest
depends_on: [acme]
volumes:
- certs:/etc/letsencrypt:ro # consume certs read-only
ports: ["443:443", "80:80", "443:443/udp"]
volumes:
certs:
Once you have certs, serve them with the post-quantum-ready TLS stack — see the article below.
Content type
Image
Digest
sha256:7cf635fed…
Size
27.1 MB
Last updated
about 9 hours ago
docker pull eilandert/letsencrypt