|
|
@ -49,7 +49,11 @@ config :explorer, Explorer.Repo.Replica1, |
|
|
|
pool_size: pool_size_api, |
|
|
|
pool_size: pool_size_api, |
|
|
|
ssl: String.equivalent?(System.get_env("ECTO_USE_SSL") || "true", "true") |
|
|
|
ssl: String.equivalent?(System.get_env("ECTO_USE_SSL") || "true", "true") |
|
|
|
|
|
|
|
|
|
|
|
database_account_url = System.get_env("ACCOUNT_DATABASE_URL") |
|
|
|
database_account_url = |
|
|
|
|
|
|
|
if System.get_env("ACCOUNT_DATABASE_URL"), |
|
|
|
|
|
|
|
do: System.get_env("ACCOUNT_DATABASE_URL"), |
|
|
|
|
|
|
|
else: System.get_env("DATABASE_URL") |
|
|
|
|
|
|
|
|
|
|
|
pool_size_account = String.to_integer(System.get_env("ACCOUNT_POOL_SIZE", "50")) |
|
|
|
pool_size_account = String.to_integer(System.get_env("ACCOUNT_POOL_SIZE", "50")) |
|
|
|
|
|
|
|
|
|
|
|
# Configures Account database |
|
|
|
# Configures Account database |
|
|
|