add persistance to Postresql container
This commit is contained in:
		
							parent
							
								
									ed22f65b3c
								
							
						
					
					
						commit
						4512fde181
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -3,6 +3,8 @@ services:
 | 
				
			||||||
  db:
 | 
					  db:
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    image: postgres:alpine
 | 
					    image: postgres:alpine
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - ./postgres-data:/var/lib/postgresql/data
 | 
				
			||||||
  redis:
 | 
					  redis:
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    image: redis:alpine
 | 
					    image: redis:alpine
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue