letsencrypt support and automatically redirect all http traffic to https
500K+
https://hub.docker.com/r/extremeshok/acme-http2https
letsencrypt support which will automatically redirect all http traffic to https
View docker-compose-sample.yml in the source repository for usage
REGISTERED_EMAIL=[email protected] NOTIFY_EMAIL=REGISTERED_EMAIL DEFAULT_CA=letsencrypt ENABLE_STAGING=no ENABLE_DEBUG=no SKIP_IP_CHECK=no SKIP_DOMAIN_CHECK=no GENERATE_DHPARAM=yes UPDATE_ACME=yes RESTART_DOCKER=no ACME_RESTART_CONTAINERS= ACME_DOMAINS= NOTIFY=no
If detected, will copy the certificates and keys to /certs/domain.com/
If detected, will copy the certificates and keys to /var/www/vhosts/domain.com/certs/
ACME_DOMAINS=www.domain.com,domain.com;my.otherdomain.net;www.randomdomain.com
ACME_RESTART_CONTAINERS=xshok_baseimagealpine_1;xshok_baseimagealpine_2;xshok_baseimagealpine_3 Note: docker socket needs to be mapped, ie.
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
1 certificate per line, first value is the "root aka certificate name"
example.org
example.com www.example.com
example.net www.example.net wiki.example.net
service.example.com *.service.example.com
eggs.example.com *.ham.example.com
GENERATE_DHPARAM=yes Note: will take a long time
SKIP_IP_CHECK=no
NOTIFY=no NOTIFY=REGISTERED_EMAIL SMTP_HOST= SMTP_PORT=587 SMTP_USER= SMTP_PASS=
SMTP_HOST=smtp.domain.com SMTP_PORT=587 SMTP_USER=[email protected] SMTP_PASS=securepass
NOTIFY=yes NOTIFY_EMAIL=[email protected]
Content type
Image
Digest
Size
22.2 MB
Last updated
almost 5 years ago
docker pull extremeshok/acme-http2https