Description
The current README suggests using curl for the health check. However, the appwrite/browser Dockerfile does not install curl.
As a result, the documented health check fails because the required system tools are missing.
Proposed Fix
Since the bun binary is present, the health check should utilize Bun's native fetch capabilities.
Replace:
curl http://localhost:3000/v1/health
--
bun -e "fetch(''http://127.0.0.1:3000/v1/health'').then(r=>process.exit(r.status===200?0:1)).catch(()=>process.exit(1))" worked for me in my Coolify environment.
Greeting 🫶
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
Description
The current README suggests using
curlfor the health check. However, theappwrite/browserDockerfile does not installcurl.As a result, the documented health check fails because the required system tools are missing.
Proposed Fix
Since the
bunbinary is present, the health check should utilize Bun's nativefetchcapabilities.Replace:
curl http://localhost:3000/v1/health--
bun -e "fetch(''http://127.0.0.1:3000/v1/health'').then(r=>process.exit(r.status===200?0:1)).catch(()=>process.exit(1))"worked for me in my Coolify environment.Greeting 🫶
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?