Skip to content

Database configuration #6319

Description

@Planlos5000

Currently the database is configured using the database url through the -d flag or the env variable SCRUMLR_SERVER_DATABASE_URL.
We want to allow to configure the database also through four env variables that supply the host, username, password and database name. The database url is the build on startup of the server.

If the server is configured with both database configurations (url and host, user, password, db name), the server should either not start and throw an error or select one configuration.

This feature should also be documented in the scrumlr docs

  • Add database environment variables
  • Handle multi configuration
  • Document the variables

Metadata

Metadata

Assignees

Labels

BackendAt least some of this PR changes stuff in the backend codefeatThis pull request or issue adds a new feature

Type

No type

Projects

Status
Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions