Simple docker-compose file for standing up a Rancher V1
instance with HTTPS courtesy of LetsEncrypt.
- Docker version >= 18, and Docker Compose version >= 1.18
- A publicly accessible, fully qualified domain name (FQDN). See e.g., DigitalOcean's tutorial if you're unfamiliar with how to set this up.
First, replace the template variables in .env with your hostname and email.
Then, to launch the service:
# Clone the repo.
$ git clone https://github.com/jessestuart/js-rancher
$ cd js-rancher
# This will create a new external network (`nginx-net`), and stand up
# the three containers required to boot the app.
$ make startTo inspect the logs:
$ docker-compose logs -fTo tear the service down:
$ make destroy