No description
certificates | ||
docker-entrypoint.d | ||
nginx | ||
scripts | ||
.dockerignore | ||
.gitignore | ||
Containerfile | ||
docker-compose.yml | ||
README.md |
This is a container that helps host a static website.
Configuration
Requires the following mounts:
/etc/ssl/certs/$DOMAIN
: For certificates (fullchain.pem
andprivkey.pem
)/var/www/html/$DOMAIN
: Website files,index.html
goes right here
Requires the following environment variables:
DOMAIN
: The domainACME_CHALLENGE_HOST
: The source of.well-known/acme-challenge
You're also encouraged to provide your own:
/etc/ssl/dhparam.pem
, generated with:openssl dhparam -out dhparam.pem 4096
/etc/ssl/snakeoil.key
&/etc/ssl/snakeoil.pem
, generated with:openssl req -new -x509 -days 398 -noenc -out snakeoil.pem -keyout snakeoil.key -subj "/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd"
SERVER_ID
: How to call this server (for info)- Mount
/var/run/nginx-reload
: modify this file to reload nginx
TODO
- support for multiple domains