basic docker-compose for running the project together with memcached
This commit is contained in:
		
							
								
								
									
										19
									
								
								docker-compose.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								docker-compose.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					version: '3.0'
 | 
				
			||||||
 | 
					services:
 | 
				
			||||||
 | 
					  haste-server:
 | 
				
			||||||
 | 
					    build: .
 | 
				
			||||||
 | 
					    networks:
 | 
				
			||||||
 | 
					      - db-network
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      - STORAGE_TYPE=memcached
 | 
				
			||||||
 | 
					      - STORAGE_HOST=memcached
 | 
				
			||||||
 | 
					      - STORAGE_PORT=11211
 | 
				
			||||||
 | 
					    ports:
 | 
				
			||||||
 | 
					      - 7777:7777
 | 
				
			||||||
 | 
					  memcached:
 | 
				
			||||||
 | 
					    image: memcached:latest
 | 
				
			||||||
 | 
					    networks:
 | 
				
			||||||
 | 
					      - db-network
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					networks:
 | 
				
			||||||
 | 
					  db-network:
 | 
				
			||||||
		Reference in New Issue
	
	Block a user