Skip to content

[Feature] Added heathcheck API route#1230

Merged
alexjustesen merged 1 commit intomainfrom
1228-ping-endpoint-not-found
Feb 22, 2024
Merged

[Feature] Added heathcheck API route#1230
alexjustesen merged 1 commit intomainfrom
1228-ping-endpoint-not-found

Conversation

@alexjustesen
Copy link
Owner

@alexjustesen alexjustesen commented Feb 22, 2024

📃 Description

With the switch to LSIO image /ping is no longer available, this PR provides a /api/healthcheck route that returns a 200 code response with a json message.

{"message":"Speedtest Tracker is running!"}

Documentation: https://docs.speedtest-tracker.dev/other/health-check

🪵 Changelog

➕ Added

@alexjustesen alexjustesen added the feature New feature or request label Feb 22, 2024
@alexjustesen alexjustesen self-assigned this Feb 22, 2024
@alexjustesen alexjustesen linked an issue Feb 22, 2024 that may be closed by this pull request
@alexjustesen alexjustesen merged commit 747776f into main Feb 22, 2024
@alexjustesen alexjustesen deleted the 1228-ping-endpoint-not-found branch February 22, 2024 20:45
@corasaniti
Copy link

Hi, Does anyone know if I can use healtcheck with docker run instead of docker-compose?
Thanks
PC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/ping endpoint not found

2 participants