Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JustAdam/docker-gen-swarm
Using docker-gen in a Docker Swarm cluster
https://github.com/JustAdam/docker-gen-swarm
Last synced: 5 days ago
JSON representation
Using docker-gen in a Docker Swarm cluster
- Host: GitHub
- URL: https://github.com/JustAdam/docker-gen-swarm
- Owner: JustAdam
- Created: 2015-04-07T19:00:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T19:01:15.000Z (over 9 years ago)
- Last Synced: 2024-08-02T12:42:30.854Z (3 months ago)
- Homepage:
- Size: 97.7 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - JustAdam/docker-gen-swarm - Using docker-gen in a Docker Swarm cluster (others)
README
# docker-gen and Docker Swarm
The is an example of connecting docker-gen to a Docker Swarm cluster. Please see [this](http://www.before.no/2015/04/using-docker-gen-with-a-swarm-cluster/) post for more details.
## Before starting
* Place a `docker-gen` binary in the `docker-gen/` folder.
* Copy the SSL certificates for your Docker Swarm master into the `docker-gen/certs` folder.
* Update the default site configuration for the nginx reverse proxy (see `docker-gen/sites-enabled/default`)
* Update the **DOCKER_HOST** environment variable in `docker-compose.yml` to point to the correct address of the Swarm master.```
$ docker-compose up -d
```