-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
component/databaseRelated to a database componentRelated to a database componentenhancementNew feature or requestNew feature or request
Description
Problem Statement
When database services are started they need a password to be set, this is normally done by setting the <DB>_ROOT_PASSWORD. The services right now use a hardcoded username & password, set to root:root.
Proposed Solution
We are going to bake the password (root) into the Dockerfile for now. This is obviously not secure, so it is an intermediate solution. Long term we should consider alternatives to that, e.g. using compose/k8s secrets to store and retrieve them, but for now this is good enough since this is for simulated apps in an controlled environment.
Alternatives Considered
We could do a different implementation like with secrets already, or we could ask users to always provide the password in an environment variable, but we would loose some easy of use.
Additional Context
No response
Checklist
- I have read the contributing guidelines
- I have verified this does not duplicate an existing feature request
Metadata
Metadata
Assignees
Labels
component/databaseRelated to a database componentRelated to a database componentenhancementNew feature or requestNew feature or request