|
import Config |
|
|
|
|
|
config :argon2_elixir, t_cost: 1, m_cost: 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
if System.get_env("DATABASE_URL") do |
|
config :medicode, Medicode.Repo, |
|
url: System.get_env("DATABASE_URL"), |
|
pool: Ecto.Adapters.SQL.Sandbox, |
|
pool_size: 10 |
|
else |
|
config :medicode, Medicode.Repo, |
|
hostname: "localhost", |
|
database: "medical_transcription_test#{System.get_env("MIX_TEST_PARTITION")}", |
|
pool: Ecto.Adapters.SQL.Sandbox, |
|
pool_size: 10 |
|
end |
|
|
|
|
|
|
|
config :medicode, MedicodeWeb.Endpoint, |
|
http: [ip: {127, 0, 0, 1}, port: 4002], |
|
secret_key_base: "s9xRSMfdt6SYbFLJij5dkfi2Nsg7T+CqLJBss2yRy7nlVbZXr1Nd9AsR44meYkBa", |
|
server: false |
|
|
|
|
|
config :medicode, Medicode.Mailer, adapter: Swoosh.Adapters.Test |
|
|
|
|
|
config :swoosh, :api_client, false |
|
|
|
|
|
config :logger, level: :warning |
|
|
|
|
|
config :phoenix, :plug_init_mode, :runtime |
|
|