Skip to content

feat configs: don't duplicate dbconnection in config_vars, pass it through env #54

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

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

LeoSabantsev
Copy link
Contributor

DB env variables for 'pg_service_template-container' service in docker-compose.yml are not used at all. This is misleading and leads to the need to look for errors and change the code in several places if the database has changed.

Here is attempt to fix it according to userver docs:

  1. dbconnection
dbconnection
  1. yaml
yaml

@Anton3 Anton3 changed the title [ADD] pass usable env to docker-compose.yml feat configs: don't duplicate dbconnection in config_vars, pass it through env Jun 21, 2024
@Anton3 Anton3 merged commit 6934b33 into userver-framework:develop Jun 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants