28 lines
1 KiB
Elixir
28 lines
1 KiB
Elixir
import Config
|
|
|
|
config :centralcloud_my, CentralcloudMy.Endpoint,
|
|
adapter: Bandit.PhoenixAdapter,
|
|
http: [port: 4001],
|
|
secret_key_base: "dev_only_secret_key_base_do_not_use_in_prod_needs_64_chars_minimum_xx",
|
|
code_reloader: true,
|
|
debug_errors: true,
|
|
check_origin: false,
|
|
watchers: [tailwind: {Tailwind, :install_and_run, [:my, ~w(--watch)]}]
|
|
|
|
config :centralcloud_staff, CentralcloudStaff.Endpoint,
|
|
http: [port: 4000],
|
|
secret_key_base: "dev_only_ops_secret_key_base_do_not_use_in_prod_needs_64_chars_min_xx",
|
|
code_reloader: true,
|
|
debug_errors: true,
|
|
check_origin: false,
|
|
watchers: [tailwind: {Tailwind, :install_and_run, [:staff, ~w(--watch)]}]
|
|
|
|
# Disable Swoosh HTTP client in dev — no real email sending
|
|
config :swoosh, :api_client, false
|
|
|
|
config :centralcloud_staff, :router_agent,
|
|
url: "http://router-agent.router-agent.svc:8642",
|
|
api_key: System.get_env("ROUTER_AGENT_API_KEY", "dev-key")
|
|
|
|
config :logger, :console, format: "[$level] $message\n"
|
|
config :phoenix, :stacktrace_depth, 20
|