mirror of https://github.com/docker/docs.git
Revise commands in Compose section of multi-host quickstart
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
parent
f18c5e9714
commit
6326e6732d
|
@ -326,7 +326,7 @@ You can try starting a second network on your existing Swarm cluster using Docke
|
||||||
image: bfirsh/compose-mongodb-demo
|
image: bfirsh/compose-mongodb-demo
|
||||||
environment:
|
environment:
|
||||||
- "MONGO_HOST=counter_mongo_1"
|
- "MONGO_HOST=counter_mongo_1"
|
||||||
- "constraint:node==swl-demo0"
|
- "constraint:node==mhs-demo0"
|
||||||
ports:
|
ports:
|
||||||
- "80:5000"
|
- "80:5000"
|
||||||
mongo:
|
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.
|
6. Start the application with Compose.
|
||||||
|
|
||||||
$ docker-compose up --x-networking up -d
|
$ docker-compose --x-networking up -d
|
||||||
|
|
||||||
## Related information
|
## Related information
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue