Worker container config should use environment variables for DB
See original GitHub issueThe app production config uses environment variables for POSTGRES_HOST
/POSTGRES_USER
/etc. The worker production config uses static definitions for the DB connection.
The environment variables are very useful for running in container orchestration frameworks like Kubernetes or Nomad, and it would be great to not have to patch the worker container’s production config at runtime.
Can the default worker config be updated to match the default app config & use the env variables?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
A complete guide to using environment variables and files ...
Environment variables keep your app secure and flexible. This article will demonstrate that it's easy to pass both individual variables and files that...
Read more >Docker Environment Variables: Setup and Configuration for ...
Docker environment variables store specific data to each user accessing an app. Find 50 variables to use in setting up and configuring ......
Read more >Environment variables in Compose | Docker Documentation
Your configuration options can contain environment variables. Compose uses the variable values from the shell environment in which docker-compose is run.
Read more >Use environment variables | Cloud Run Documentation
When you set environment variables, they are injected into the container and are accessible to your code. Environment variables are set as key/value...
Read more >Environment variables - GitLab Docs
GitLab exposes certain environment variables which can be used to ... We welcome merge requests to make more settings configurable by using variables....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jessecureton I merged your pull request. Thank you! Just now, after merge was complete, I thought that maybe your PR was work in progress… 😃 If it is so, please, next time mark it with [WIP] prefix (work in progress).
Thank you for your contribution!
great! thank you!