Docker - update postgres container configuration
This commit is contained in:
		
							parent
							
								
									e563939c66
								
							
						
					
					
						commit
						e9befd0a50
					
				@ -19,11 +19,12 @@ version: '2.2'
 | 
				
			|||||||
services:
 | 
					services:
 | 
				
			||||||
  postgres:
 | 
					  postgres:
 | 
				
			||||||
    restart: always
 | 
					    restart: always
 | 
				
			||||||
    image: "postgres:10"
 | 
					    image: "postgres:11.6"
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
    - "5432"
 | 
					    - "5432"
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      POSTGRES_DB: thingsboard
 | 
					      POSTGRES_DB: thingsboard
 | 
				
			||||||
 | 
					      POSTGRES_PASSWORD: postgres
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./tb-node/postgres:/var/lib/postgresql/data
 | 
					      - ./tb-node/postgres:/var/lib/postgresql/data
 | 
				
			||||||
  tb1:
 | 
					  tb1:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user