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

Use system variables for dev.exs DB settings. #3

Open
code-shoily opened this issue Jul 7, 2020 · 0 comments
Open

Use system variables for dev.exs DB settings. #3

code-shoily opened this issue Jul 7, 2020 · 0 comments
Assignees

Comments

@code-shoily
Copy link

code-shoily commented Jul 7, 2020

Example:

config :res_q, ResQ.Repo,
  adapter: Ecto.Adapters.Postgres,
  hostname: "localhost",
  username: System.get_env("DB_USER") || "postgres",
  password: System.get_env("DB_PASSWORD") || "",
  database: "res_q_dev",
  log_level: :debug
@kamranhossain kamranhossain self-assigned this Jul 7, 2020
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

No branches or pull requests

2 participants