You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "spidernik84 (via GitHub)" <gi...@apache.org> on 2024/03/16 21:47:20 UTC

[I] [Feature][devlake] Separate DB connection details in specific environment variables [incubator-devlake]

spidernik84 opened a new issue, #7182:
URL: https://github.com/apache/incubator-devlake/issues/7182

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Use case
   
   Currently, the DevLake application container expects the database connection details to be specified in a single variable:
   
   `DB_URL=mysql://merico:merico@mysql:3306/lake?charset=utf8mb4&parseTime=True&loc=UTC`
   
   When the connection details are stored securely and passed at runtime (for example in AWS ECS, where they are pulled from Secrets Manager), the variable must be stored alltogether (DB URL+User+Password).
   
   It would be convenient to specify the parameters separately, and compute the resulting string in the code.
   
   Example:
   `DB_USER`: merico
   `DB_PASSWORD`: merico
   `DB_URL`: database-url:3306
   
   Computed URL: `mysql://merico:merico@database-url:3306/lake?charset=utf8mb4&parseTime=True&loc=UTC`
   
   ### Description
   
   See above
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature][devlake] Separate DB connection details in specific environment variables [incubator-devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7182: [Feature][devlake] Separate DB connection details in specific environment variables
URL: https://github.com/apache/incubator-devlake/issues/7182


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature][devlake] Separate DB connection details in specific environment variables [incubator-devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7182:
URL: https://github.com/apache/incubator-devlake/issues/7182#issuecomment-2113685818

   This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature][devlake] Separate DB connection details in specific environment variables [incubator-devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7182:
URL: https://github.com/apache/incubator-devlake/issues/7182#issuecomment-2125977281

   This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org