Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonclay7/docker-swarm-playground
Playground for docker-swarm
https://github.com/bonclay7/docker-swarm-playground
Last synced: 6 days ago
JSON representation
Playground for docker-swarm
- Host: GitHub
- URL: https://github.com/bonclay7/docker-swarm-playground
- Owner: bonclay7
- Created: 2016-02-15T10:05:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-02T17:52:27.000Z (almost 9 years ago)
- Last Synced: 2024-10-31T22:42:14.541Z (about 2 months ago)
- Language: Shell
- Size: 94.7 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-swarm-playground
Playground for docker-swarm## Getting started
Download and install the dependencies
- VirtualBox, see
- Docker machine, docker compose, see
- Nah, that's all !
## Build your docker cluster
We provide a little cluster of 4 vms running `boot2docker`
- `tools` containing a local docker `registry` and a `squid` proxy for
images and network caching ; `consul` for service discovery and key/value storage ;
`zookeeper` for kafka- `swarm-master`, docker swarm master node
- 2 (see `SWARM_NODES`) `swarm nodes`, nodes that will receive containers apps
- a `registrator` container on each swarm nodes (master included) to notify consul
- plus an `overlay` network to make the communication work in this world !
```bash
./setup-cluster.sh
```#### Ports
Opened ports on tools machine
| Ports | Services |
| :----------------- | :----------------: |
| _8500_ | Consul |
| _5000_ | Registry |
| _3128_ | Squid Proxy |
| _2181_ | Zookeeper |## Launch your services
### Ambari
The elephant on a boat
```bash
./ambari.sh
```### Tick stack (Telegraf, InfluxDB, Chronograf, Kapacitor)
Effective stack by [influxdata](https://influxdata.com/) for telemetry
```bash
./tick.sh
```#### Ports
| Ports | Services |
| :--------- | :----------------: |
| _8083, 8086_ | InfluxDB |
| _10000_ | Chronograf |
| _9092_ | Kapacitor |
| _3000_ | Grafana |