use DATABASE_PASSWORD env
This commit is contained in:
parent
8b90651a18
commit
10acbbfd24
|
@ -2,7 +2,10 @@ import Config
|
|||
|
||||
# Configure the database
|
||||
config :bright, Bright.Repo,
|
||||
url: "#{System.get_env("DATABASE_URL")}",
|
||||
username: "postgres",
|
||||
password: "#{System.get_env("DATABASE_PASSWORD")}",
|
||||
hostname: "futureporn-db",
|
||||
database: "bright",
|
||||
stacktrace: true,
|
||||
show_sensitive_data_on_connection_error: true,
|
||||
pool_size: 10
|
||||
|
|
Loading…
Reference in New Issue