No description
Find a file
2025-07-11 14:48:23 +02:00
certificates Initial commit 2025-07-11 14:48:23 +02:00
docker-entrypoint.d Initial commit 2025-07-11 14:48:23 +02:00
nginx Initial commit 2025-07-11 14:48:23 +02:00
scripts Initial commit 2025-07-11 14:48:23 +02:00
.dockerignore Initial commit 2025-07-11 14:48:23 +02:00
.gitignore Initial commit 2025-07-11 14:48:23 +02:00
Containerfile Initial commit 2025-07-11 14:48:23 +02:00
docker-compose.yml Initial commit 2025-07-11 14:48:23 +02:00
README.md Initial commit 2025-07-11 14:48:23 +02:00

This is a container that helps host a static website.

Configuration

Requires the following mounts:

  • /etc/ssl/certs/$DOMAIN: For certificates (fullchain.pem and privkey.pem)
  • /var/www/html/$DOMAIN: Website files, index.html goes right here

Requires the following environment variables:

  • DOMAIN: The domain
  • ACME_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