mirror of
				https://git.cloudron.io/cloudron/gitea-app
				synced 2025-11-04 00:52:35 +00:00 
			
		
		
		
	Use /explore instead of non-existing /healthcheck
This commit is contained in:
		@@ -5,7 +5,7 @@
 | 
				
			|||||||
  "description": "file://DESCRIPTION.md",
 | 
					  "description": "file://DESCRIPTION.md",
 | 
				
			||||||
  "tagline": "A painless self-hosted Git Service",
 | 
					  "tagline": "A painless self-hosted Git Service",
 | 
				
			||||||
  "version": "1.21.0",
 | 
					  "version": "1.21.0",
 | 
				
			||||||
  "healthCheckPath": "/healthcheck",
 | 
					  "healthCheckPath": "/explore",
 | 
				
			||||||
  "httpPort": 3000,
 | 
					  "httpPort": 3000,
 | 
				
			||||||
  "memoryLimit": 536870912,
 | 
					  "memoryLimit": 536870912,
 | 
				
			||||||
  "addons": {
 | 
					  "addons": {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								start.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								start.sh
									
									
									
									
									
								
							@@ -38,7 +38,7 @@ setup_auth() {
 | 
				
			|||||||
    set -eu
 | 
					    set -eu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Wait for gitea to finish db setup, before we do any db operations
 | 
					    # Wait for gitea to finish db setup, before we do any db operations
 | 
				
			||||||
    while ! curl --fail http://localhost:3000/healthcheck; do
 | 
					    while ! curl --fail http://localhost:3000/explore; do
 | 
				
			||||||
        echo "==> Waiting for gitea to come up"
 | 
					        echo "==> Waiting for gitea to come up"
 | 
				
			||||||
        sleep 1
 | 
					        sleep 1
 | 
				
			||||||
    done
 | 
					    done
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user