Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure server Docker container at runtime #68

Open
gregbrowndev opened this issue Sep 18, 2023 · 0 comments
Open

Configure server Docker container at runtime #68

gregbrowndev opened this issue Sep 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gregbrowndev
Copy link
Owner

gregbrowndev commented Sep 18, 2023

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?

@gregbrowndev gregbrowndev added the enhancement New feature or request label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant