Skip to content

Configure server Docker container at runtime #68

@gregbrowndev

Description

@gregbrowndev

Currently, the http4s server reads its config from the src/main/resources/application.conf file. This file will contain sensitive data, such as the database credentials, which shouldn't be checked into the source control.

One option is to use variable expansion to read the sensitive data from environment variables that can easily be set on the Docker container run command. However, this seems like a lot of duplicated effort. Can we instead read the application.conf file contents, e.g. in JSON format, from an environment variable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions