2026-05-09 19:49:01 +02:00
|
|
|
import Config
|
|
|
|
|
|
|
|
|
|
config :centralcloud_my, CentralcloudMy.Endpoint,
|
2026-05-09 20:25:18 +02:00
|
|
|
adapter: Bandit.PhoenixAdapter,
|
|
|
|
|
http: [port: 4001],
|
|
|
|
|
secret_key_base: "dev_only_secret_key_base_do_not_use_in_prod_needs_64_chars_minimum_xx",
|
2026-05-09 19:49:01 +02:00
|
|
|
code_reloader: true,
|
|
|
|
|
debug_errors: true,
|
2026-05-09 20:25:18 +02:00
|
|
|
check_origin: false
|
2026-05-09 19:49:01 +02:00
|
|
|
|
|
|
|
|
config :centralcloud_ops, CentralcloudOps.Endpoint,
|
2026-05-09 20:25:18 +02:00
|
|
|
http: [port: 4000],
|
|
|
|
|
secret_key_base: "dev_only_ops_secret_key_base_do_not_use_in_prod_needs_64_chars_min_xx",
|
2026-05-09 19:49:01 +02:00
|
|
|
code_reloader: true,
|
|
|
|
|
debug_errors: true,
|
|
|
|
|
check_origin: false
|
|
|
|
|
|
2026-05-09 20:25:18 +02:00
|
|
|
# Disable Swoosh HTTP client in dev — no real email sending
|
|
|
|
|
config :swoosh, :api_client, false
|
|
|
|
|
|
2026-05-11 11:23:14 +02:00
|
|
|
config :centralcloud_ops, :router_agent,
|
|
|
|
|
url: "http://router-agent.router-agent.svc:8642",
|
|
|
|
|
api_key: System.get_env("ROUTER_AGENT_API_KEY", "dev-key")
|
|
|
|
|
|
2026-05-09 19:49:01 +02:00
|
|
|
config :logger, :console, format: "[$level] $message\n"
|
|
|
|
|
config :phoenix, :stacktrace_depth, 20
|