mirror of
				https://github.com/mashirozx/docker-php-nginx.git
				synced 2025-05-29 01:49:24 +08:00 
			
		
		
		
	Fixed HEALTCHECK now Nginx is running on a different port
This commit is contained in:
		
							parent
							
								
									e95b618d3e
								
							
						
					
					
						commit
						9ef6acf619
					
				@ -42,4 +42,4 @@ EXPOSE 8080
 | 
				
			|||||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
 | 
					CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Configure a healthcheck to validate that everything is up&running
 | 
					# Configure a healthcheck to validate that everything is up&running
 | 
				
			||||||
HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1/fpm-ping
 | 
					HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:8080/fpm-ping
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user