Curl not working anymore.
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- bun, docker
- Domain
- devops, documentation
Research direction
Start with the README health-check instructions and the appwrite/browser Dockerfile to confirm how the image provides Bun and whether curl is available. Verify the documented health check against http://127.0.0.1:3000/v1/health in the built image; done means it succeeds without requiring an uninstalled system tool.
Written by the indexing model from the issue text.
Description
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?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 2
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
blocklist removal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
pastelsky/bundlephobia#1122 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100