Change timescaleDB bind mount to docker volume for easier deployment.
This commit is contained in:
		
							parent
							
								
									17e1f54ab2
								
							
						
					
					
						commit
						3a421b1344
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -14,7 +14,7 @@ services:
 | 
			
		|||
    volumes:
 | 
			
		||||
      - /etc/timezone:/etc/timezone:ro
 | 
			
		||||
      - /etc/localtime:/etc/localtime:ro
 | 
			
		||||
      - /opt/opendtu-logger/database:/var/lib/postgresql/data
 | 
			
		||||
      - opendtu_db:/var/lib/postgresql/data
 | 
			
		||||
    healthcheck:
 | 
			
		||||
      test: ["CMD-SHELL", "pg_isready -U ${PG_USER}"]
 | 
			
		||||
      interval: 5s
 | 
			
		||||
| 
						 | 
				
			
			@ -61,4 +61,5 @@ networks:
 | 
			
		|||
  internal:
 | 
			
		||||
    attachable: true
 | 
			
		||||
volumes:
 | 
			
		||||
  opendtu_logger_grafana:
 | 
			
		||||
  opendtu_logger_grafana:
 | 
			
		||||
  opendtu_db:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue