https-portal
SteveLTN/https-portal: A fully automated HTTPS server powered by Nginx, Let's Encrypt and Docker.
Usage
Docker
example.com.localを127.0.0.1に名前解決させる。
app(container name):5000(container exposed port)
code:yaml
https-portal:
image: steveltn/https-portal:1
ports:
'80:80'
'443:443'
links:
app
restart: always
environment:
DOMAINS: 'example.com.local -> http://app:5000'
STAGE: 'local' # Don't use production until staging works
# FORCE_RENEW: 'true'