mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Merge pull request #17713 from nathanleclaire/mhs_nits_2_the_sequel_electric_overloo
Revise commands in Compose section of multi-host quickstart
This commit is contained in:
		
						commit
						8aa8d51610
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue