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