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

expose /health-check/whatismyip endpoint #21

Closed
wants to merge 2 commits into from

Conversation

kwypchlo
Copy link
Contributor

@kwypchlo kwypchlo commented Jul 5, 2022

health-check service pulls the server public ip on startup, it makes sense to expose it for other services to use (I'm gonna need it in nginx for my work on blocking external traffic access for takedown servers)

otherwise we could create new service and expose it there but I'm not sure it makes much sense to add this complexity

closes SkynetLabs/skynet-webportal#1955

@kwypchlo kwypchlo requested a review from peterjan July 5, 2022 10:09
@kwypchlo kwypchlo self-assigned this Jul 5, 2022
@kwypchlo kwypchlo requested a review from meeh0w as a code owner July 5, 2022 10:09
@kwypchlo kwypchlo marked this pull request as draft July 5, 2022 10:29
@kwypchlo
Copy link
Contributor Author

kwypchlo commented Jul 5, 2022

We will include SERVER_IP in .env file.

@kwypchlo kwypchlo closed this Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose endpoint for IP address discovery
1 participant