Browse Source

Use admin user/pass as base config

master
buttercat1791 2 months ago
parent
commit
e29c1446fb
  1. 4
      config/config.exs
  2. 2
      config/dev.exs

4
config/config.exs

@ -12,8 +12,8 @@ config :gc_index_relay, @@ -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,

2
config/dev.exs

@ -2,8 +2,6 @@ import Config @@ -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

Loading…
Cancel
Save