https://github.com/jessestuart/rancher-docker
Simple docker-compose definition for standing up a Rancher V1 instance with HTTPS courtesy of LetsEncrypt.
https://github.com/jessestuart/rancher-docker
configuration-management docker docker-compose rancher rancher-api rancher-server
Last synced: 2 months ago
JSON representation
Simple docker-compose definition for standing up a Rancher V1 instance with HTTPS courtesy of LetsEncrypt.
- Host: GitHub
- URL: https://github.com/jessestuart/rancher-docker
- Owner: jessestuart
- Created: 2018-02-06T09:56:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-06T11:35:58.000Z (over 8 years ago)
- Last Synced: 2025-03-24T06:52:15.900Z (over 1 year ago)
- Topics: configuration-management, docker, docker-compose, rancher, rancher-api, rancher-server
- Language: Makefile
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## js-rancher
Simple `docker-compose` file for standing up a [Rancher V1][rancher-url]
instance with HTTPS courtesy of [LetsEncrypt][letsencrypt-url].
### Requirements
* Docker version >= 18, and Docker Compose version >= 1.18
* A publicly accessible, fully qualified domain name ([FQDN][fqdn]). See e.g.,
DigitalOcean's [tutorial][do-dns] if you're unfamiliar with how to set this
up.
### Usage
First, replace the template variables in `.env` with your hostname and email.
Then, to launch the service:
```bash
# 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 start
```
To inspect the logs:
```bash
$ docker-compose logs -f
```
To tear the service down:
```bash
$ make destroy
```
[do-dns]: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean
[fqdn]: https://en.wikipedia.org/wiki/Fully_qualified_domain_name
[letsencrypt-url]: https://letsencrypt.org
[rancher-url]: https://rancher.com/rancher/