The purpose of this script is to provide a quick way to get applications up and running.
The Nginx stack acts as a proxy which automatically generates new certificates and sets up domains for new applications.
- install Docker and Docker Compose
- clone or download this repository
- copy sample.env to .env
- edit .env to suit your needs
- run start.sh
You can easily test the Nginx stack by running the whoami container like this:
docker run --name whoami -e VIRTUAL_HOST=whoami.domain.tld -e LETSENCRYPT_HOST=whoami.domain.tld -e LETSENCRYPT_EMAIL=ssl@domain.tld --net frontends jwilder/whoami