Add healthcheck for sidekiq (#17365)
This commit is contained in:
		
							parent
							
								
									6505b39e5d
								
							
						
					
					
						commit
						10188c7db7
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -94,6 +94,9 @@ services:
 | 
				
			||||||
      - internal_network
 | 
					      - internal_network
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./public/system:/mastodon/public/system
 | 
					      - ./public/system:/mastodon/public/system
 | 
				
			||||||
 | 
					    healthcheck:
 | 
				
			||||||
 | 
					      test: ["CMD-SHELL", "ps aux | grep '[s]idekiq\ 6' || false"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Uncomment to enable federation with tor instances along with adding the following ENV variables
 | 
					## Uncomment to enable federation with tor instances along with adding the following ENV variables
 | 
				
			||||||
## http_proxy=http://privoxy:8118
 | 
					## http_proxy=http://privoxy:8118
 | 
				
			||||||
## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true
 | 
					## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue