Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#111 Add health-checks for UI, deep-thought, database and mosquitto #303

Merged
merged 16 commits into from
Mar 23, 2023

Conversation

TWilkin
Copy link
Owner

@TWilkin TWilkin commented Mar 23, 2023

  • Add health-check for UI by return 200 from /health if NGINX is up.
  • Add health-check for deep-thought by adding HealthController which returns 200 if database (if enabled) and MQTT are accessible.
  • Add health-check for database by initiating TCP connection to Postgres port.
  • Add health-check for mosquitto by initiating TCP connection to MQTT port.
  • Include updates for packages used by deep-thought.

@TWilkin TWilkin added enhancement New feature or request ui Relating to the UI api Relating to the API service mqtt Relating to the mosquitto service labels Mar 23, 2023
@TWilkin TWilkin added this to the Kubernetes milestone Mar 23, 2023
@TWilkin TWilkin merged commit f6c7e77 into master Mar 23, 2023
@TWilkin TWilkin deleted the 111.easy-health-checks branch March 23, 2023 22:25
@TWilkin TWilkin linked an issue Mar 23, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relating to the API service enhancement New feature or request mqtt Relating to the mosquitto service ui Relating to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add health checks to services
1 participant