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

Update existing examples for both local and remote GreptimeDB #52

Open
sunng87 opened this issue Oct 4, 2024 · 0 comments
Open

Update existing examples for both local and remote GreptimeDB #52

sunng87 opened this issue Oct 4, 2024 · 0 comments
Assignees

Comments

@sunng87
Copy link
Member

sunng87 commented Oct 4, 2024

We can use environment vairables to control the demos to use local GreptimeDB OSS or remote GreptimeCloud instances as introduced in #51 . We can further update existing demos to adopt this.

The approach is:

  • use environment variables with default value for GreptimeDB endpoint in configuration files
  • provide default greptime.env.sample for use to copy and fill
  • use envsubst docker image as a init container as in feat: alloy and greptimecloud in demo #51 to check and substitute variables
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

No branches or pull requests

1 participant