A Dockerized implementation of THE Hack 2019 Website 🚀!
- Copy
.env.example
to.env
- Fill in the Cloudflare account and API key (for letsencrypt DNS challenges)
- Create
./nginx/secrets.htpasswd
and./nginx/secrets.htpasswd.sponsors
, these files are used for Nginx basic_auth - Obtain TLS certificates through running
docker-compose -f docker-compose-production.yaml up letsencrypt
- After obtaining all licenses, press
Ctrl + C
to stop the container - Run
docker-compose -f docker-compose-production.yaml up -d --build