mirror of
				https://github.com/optim-enterprises-bv/Mailu-OIDC.git
				synced 2025-11-04 12:07:47 +00:00 
			
		
		
		
	Fix healthcheck
This commit is contained in:
		@@ -88,5 +88,5 @@ VOLUME ["/data"]
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
CMD /start.py
 | 
					CMD /start.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
HEALTHCHECK CMD curl -f -L http://localhost/ || exit 1
 | 
					HEALTHCHECK CMD curl -f -L http://localhost/health || exit 1
 | 
				
			||||||
RUN echo $VERSION >> /version
 | 
					RUN echo $VERSION >> /version
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -47,4 +47,9 @@ server {
 | 
				
			|||||||
    location ^~ /data {
 | 
					    location ^~ /data {
 | 
				
			||||||
      deny all;
 | 
					      deny all;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    location /health {
 | 
				
			||||||
 | 
					        add_header Content-Type text/plain;
 | 
				
			||||||
 | 
					        return 200;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user