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

docs: check db status in the quick start documentation #1003

Merged
merged 4 commits into from
Jun 13, 2024

Conversation

nicecui
Copy link
Collaborator

@nicecui nicecui commented Jun 12, 2024

What's Changed in this PR

as title

Checklist

  • Please ensure that the content in summary.yml matches the current document structure when you changed the document structure.
  • This change requires follow-up update in localized docs.

@nicecui nicecui requested a review from fengjiachun June 12, 2024 07:39
@nicecui nicecui requested a review from a team as a code owner June 12, 2024 07:39
Copy link

cloudflare-workers-and-pages bot commented Jun 12, 2024

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: dd00ece
Status: ✅  Deploy successful!
Preview URL: https://a0ca0a52.greptime-docs.pages.dev
Branch Preview URL: https://quick-start-status.greptime-docs.pages.dev

View logs

@@ -12,16 +12,16 @@ services:
image: grafana/grafana-oss:<%grafana-version%>
container_name: grafana
ports:
- 3000:3000
- 127.0.0.1:3000:3000
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is 127.0.0.1: necessary?

Copy link
Collaborator Author

@nicecui nicecui Jun 12, 2024

Choose a reason for hiding this comment

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

If host IP is not set, it binds to all network interfaces(0.0.0.0), which is unsafe.
https://docs.docker.com/network/#published-ports
https://docs.docker.com/compose/compose-file/05-services/#ports

Copy link
Contributor

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

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

LGTM

@tisonkun tisonkun merged commit a76bfb4 into main Jun 13, 2024
4 checks passed
@tisonkun tisonkun deleted the quick-start-status branch June 13, 2024 08:11
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.

3 participants