Skip to content

Commit

Permalink
Changed config files.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-br committed Apr 22, 2024
1 parent 4f8c42c commit bf85b62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ config :clear_settle_engine, ClearSettleEngine.Repo,
database: System.get_env("DB_DATABASE", "clear_settle_engine_dev"),
hostname: System.get_env("DB_HOST", "localhost"),
port: System.get_env("DB_PORT", "5432"),
ssl: true,
pool_size: String.to_integer(System.get_env("DB_POOL_SIZE", "10"))

config :logger,
Expand Down
9 changes: 9 additions & 0 deletions config/prod.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
config :clear_settle_engine, ClearSettleEngine.Repo,
username: System.get_env("DB_USERNAME", "postgres"),
password: System.get_env("DB_PASSWORD", ""),
database: System.get_env("DB_DATABASE", "clear_settle_engine_dev"),
hostname: System.get_env("DB_HOST", "localhost"),
port: System.get_env("DB_PORT", "5432"),
ssl: true,
ssl_opts: [verify: :verify_none],
pool_size: String.to_integer(System.get_env("DB_POOL_SIZE", "10"))

0 comments on commit bf85b62

Please sign in to comment.