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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to