fix: Apply Ecto set explicit ssl_opts: [verify: :verify_none] to all prod repos (#10369)

pull/10372/head
Victor Baranov 5 months ago committed by GitHub
parent 1015bfd0a4
commit 54538a3c1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 48
      apps/explorer/config/prod.exs

@ -4,69 +4,85 @@ import Config
config :explorer, Explorer.Repo,
prepare: :unnamed,
timeout: :timer.seconds(60),
migration_lock: nil
migration_lock: nil,
ssl_opts: [verify: :verify_none]
# Configures API the database
config :explorer, Explorer.Repo.Replica1,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
# Configures Account database
config :explorer, Explorer.Repo.Account,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Optimism,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.PolygonEdge,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.PolygonZkevm,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.ZkSync,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.RSK,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Shibarium,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Suave,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Beacon,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Arbitrum,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.BridgedTokens,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Filecoin,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Stability,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Repo.Mud,
prepare: :unnamed,
timeout: :timer.seconds(60)
timeout: :timer.seconds(60),
ssl_opts: [verify: :verify_none]
config :explorer, Explorer.Tracer, env: "production", disabled?: true

Loading…
Cancel
Save