mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-19 04:07:34 +00:00
Revise commands in Compose section of multi-host quickstart
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com> (cherry picked from commit 6326e6732dd217ba6c53ba80ba917d72ad0d1ce5)
This commit is contained in:
committed by
Tibor Vass
parent
f3827116a3
commit
6aa14d58ff
@@ -326,7 +326,7 @@ You can try starting a second network on your existing Swarm cluster using Docke
|
||||
image: bfirsh/compose-mongodb-demo
|
||||
environment:
|
||||
- "MONGO_HOST=counter_mongo_1"
|
||||
- "constraint:node==swl-demo0"
|
||||
- "constraint:node==mhs-demo0"
|
||||
ports:
|
||||
- "80:5000"
|
||||
mongo:
|
||||
@@ -336,7 +336,7 @@ You can try starting a second network on your existing Swarm cluster using Docke
|
||||
|
||||
6. Start the application with Compose.
|
||||
|
||||
$ docker-compose up --x-networking up -d
|
||||
$ docker-compose --x-networking up -d
|
||||
|
||||
## Related information
|
||||
|
||||
|
||||
Reference in New Issue
Block a user