Traefik Let's Encrypt ready Docker images for you to go.
Example at: https://whois.aws01.stutz.com.br
docker-compose.yml
version: '3.5'
services:
traefik-tls:
image: tiagostutz/traefik-letsencrypt:1.6
network_mode: bridge
environment:
- LETS_ENCRYPT_TEST_MODE=false
- [email protected]
- SWARM_MODE=false
ports:
- 80:80
- 443:443
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
whoami:
image: emilevauge/whoami
network_mode: bridge
restart: always
labels:
- traefik.backend=whoami
- traefik.frontend.rule=Host:yourdomain.com
- traefik.frontend.entryPoints=https
LETS_ENCRYPT_TEST_MODE:
true will issue an insecure certificate from "Fake LE" (Fake Let's Encrypt).false will issue a valid secure certificateLETS_ENCRYPT_EMAIL:
Your Let's Encrypt account e-mail. Among other things, will be used to receive certificate expiration notice.
SWARM_MODE:
You can use this image both in Docker stand alone as in Docker Swarm (formely swarm mode). This is a argument that traefik uses to know how to handle the container/service subscription and networking
Content type
Image
Digest
Size
23.5 MB
Last updated
over 6 years ago
docker pull tiagostutz/traefik-letsencrypt