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

Add db table as ENV #7

Open
3 tasks
lakhoune opened this issue Oct 18, 2023 · 0 comments
Open
3 tasks

Add db table as ENV #7

lakhoune opened this issue Oct 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lakhoune
Copy link
Member

Update Database Table Configuration

As this release indicates, there may be a need to update the database table from which we read events. To enhance flexibility and allow for seamless updates, we propose making this configuration dynamic by passing it as an environment variable.

Proposed Changes

To implement this enhancement, we suggest the following changes:

  • Modify the application to read the database table name from an environment variable.
  • Document the process of setting this environment variable to configure the application correctly.

This change will enable us to adapt to different database configurations without the need for code modifications.

Impact and Considerations

Before proceeding with this update, consider the following:

  • Ensure that the environment variable approach is suitable for your deployment and doesn't introduce security risks.
  • Review any potential impacts on existing deployments and update any relevant documentation.

Tasks

  • Implement dynamic database table configuration using an environment variable.
  • Update the documentation to include instructions for setting the environment variable.
  • Test the updated configuration with different database tables to ensure it functions correctly.
@lakhoune lakhoune added the enhancement New feature or request label Oct 18, 2023
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

No branches or pull requests

1 participant