Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add tool lists
  • Loading branch information
wfhu committed Aug 15, 2017
1 parent 270f927 commit bde645f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# docker-swarm-full-stack
Buildup a docker swarm cluster with opensource tools for production environment

Using the following tools:

container management and Orchestration : Docker Swarm Mode
container monitor & display : cAdvisor + prometheus + grafana
node monitor & display : node_exporter + prometheus + grafana
UI : portainer
log collection & display & search : ELK +



First, let us setup the Swarm cluster

1. install the docker-ce tools

Expand All @@ -27,18 +37,25 @@ docker run hello-world
```



2. setup the swarm manager leader node
```
docker swarm init --advertise-addr 192.168.33.5
```



3. add two manager node, join this swarm as manager node(also as worker node)
```
docker swarm join --token SWMTKN-1-YOUR-MANAGER-TOKEN 192.168.33.5:2377
```



4. add two worker node
```
docker swarm join --token SWMTKN-1-YOUR-WORKER-TOKEN 192.168.33.5:2377
```


0 comments on commit bde645f

Please sign in to comment.