diff --git a/config/config.exs b/config/config.exs index d2b5317..adc7f6b 100644 --- a/config/config.exs +++ b/config/config.exs @@ -12,8 +12,8 @@ config :gc_index_relay, generators: [timestamp_type: :utc_datetime] config :gc_index_relay, GcIndexRelay.Repo, - username: System.get_env("POSTGRES_USER"), - password: System.get_env("POSTGRES_PASSWORD"), + username: System.get_env("POSTGRES_ADMIN_USER"), + password: System.get_env("POSTGRES_ADMIN_PASSWORD"), database: System.get_env("POSTGRES_DB"), hostname: System.get_env("POSTGRES_HOST"), stacktrace: true, diff --git a/config/dev.exs b/config/dev.exs index cdd2b95..cd093cf 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -2,8 +2,6 @@ import Config # Configure your database config :gc_index_relay, GcIndexRelay.Repo, - username: System.get_env("POSTGRES_ADMIN_USER"), - password: System.get_env("POSTGRES_ADMIN_PASSWORD"), stacktrace: true, show_sensitive_data_on_connection_error: true, pool_size: 10