forked from kamba4/sunders
		
	healthcheck-asohh #25
					 1 changed files with 2 additions and 2 deletions
				
			
		
				commit
				
					
					
						5ff2918d07
					
				
			
		| 
						 | 
					@ -39,11 +39,11 @@ services:
 | 
				
			||||||
        condition: service_started
 | 
					        condition: service_started
 | 
				
			||||||
    # all the way zoomed out, with hamburg at the center, at least one camera should be returned
 | 
					    # all the way zoomed out, with hamburg at the center, at least one camera should be returned
 | 
				
			||||||
    healthcheck:
 | 
					    healthcheck:
 | 
				
			||||||
      test: >
 | 
					      test: ["CMD", "curl", "-f", "http://localhost/sync-state.php"]
 | 
				
			||||||
        ["CMD", "curl -s 'http://localhost/camera.php?bbox=-92.52991540527346,30.683278176916133,131.7689595947266,72.87186315234298&zoom=4&width=2552&height=867' | grep '^\[.+\]$'"]
 | 
					 | 
				
			||||||
      interval: 10s
 | 
					      interval: 10s
 | 
				
			||||||
      timeout: 5s
 | 
					      timeout: 5s
 | 
				
			||||||
      retries: 5
 | 
					      retries: 5
 | 
				
			||||||
 | 
					      start_period: 10s
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  data_handler:
 | 
					  data_handler:
 | 
				
			||||||
    image: git.hamburg.ccc.de/ccchh/sunders/data_handler:latest
 | 
					    image: git.hamburg.ccc.de/ccchh/sunders/data_handler:latest
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue