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

Enhance Service Dependency with Healthcheck Condition #48

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

adamsthws
Copy link
Contributor

Suggestion:
Add condition: 'service_healthy' to 'depends_on'.

Previously, the 'depends_on' configuration did not include the 'condition: service_healthy' for the Tailscale container. With the recent update improving the Tailscale container's healthcheck, this addition ensures the dependent service waits for Tailscale to be fully operational before starting. This change improves the reliability and stability of the service dependency chain.

I'd be happy to add this to every service in the repo should you like me to?

Cheers, Adam

@crypt0rr
Copy link
Member

crypt0rr commented Jan 2, 2025

Sure, thanks! 🚀

@crypt0rr crypt0rr assigned crypt0rr and adamsthws and unassigned crypt0rr Jan 2, 2025
@crypt0rr crypt0rr self-requested a review January 2, 2025 13:50
@crypt0rr crypt0rr added the enhancement New feature or request label Jan 2, 2025
Add Healthcheck Condition to Tailscale Dependencies
Copy link
Member

@crypt0rr crypt0rr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 Thanks @adamsthws

@crypt0rr crypt0rr merged commit 7c1fe8d into 2Tiny2Scale:main Jan 2, 2025
1 check passed
@adamsthws adamsthws deleted the depends_on-healthy branch January 2, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants