56 lines
1.8 KiB
Elixir
56 lines
1.8 KiB
Elixir
import Config
|
|
|
|
config :centralcloud_my, CentralcloudMy.Endpoint,
|
|
adapter: Bandit.PhoenixAdapter,
|
|
url: [host: "my.centralcloud.com"],
|
|
http: [port: 4001]
|
|
|
|
config :centralcloud_staff, CentralcloudStaff.Endpoint,
|
|
adapter: Bandit.PhoenixAdapter,
|
|
url: [host: "ops.centralcloud.com"],
|
|
http: [port: 4000],
|
|
live_view: [signing_salt: "ops_lv_salt_2026"],
|
|
render_errors: [
|
|
formats: [html: CentralcloudStaff.ErrorHTML, json: CentralcloudStaff.ErrorJSON],
|
|
layout: false
|
|
]
|
|
|
|
# HostBill Admin API (defaults — overridden at runtime)
|
|
config :centralcloud_core, :hostbill,
|
|
base_url: "https://portal.centralcloud.com"
|
|
|
|
# DR Portal API (defaults — overridden at runtime)
|
|
config :centralcloud_core, :dr_portal,
|
|
base_url: "https://dr.centralcloud.com"
|
|
|
|
# Grafana OnCall API (defaults — overridden at runtime)
|
|
config :centralcloud_core, :oncall,
|
|
base_url: "https://oncall.centralcloud.com"
|
|
|
|
# Authentik OIDC (defaults — overridden at runtime)
|
|
config :centralcloud_core, :oidc,
|
|
issuer: "https://sso.centralcloud.com/application/o/centralcloud/"
|
|
|
|
import_config "#{config_env()}.exs"
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Tailwind CSS build profiles
|
|
# ---------------------------------------------------------------------------
|
|
config :tailwind,
|
|
version: "3.4.14",
|
|
staff: [
|
|
args: ~w(
|
|
--config=apps/centralcloud_staff/assets/tailwind.config.js
|
|
--input=apps/centralcloud_staff/assets/css/app.css
|
|
--output=apps/centralcloud_staff/priv/static/assets/app.css
|
|
),
|
|
cd: Path.expand("..", __DIR__)
|
|
],
|
|
my: [
|
|
args: ~w(
|
|
--config=apps/centralcloud_my/assets/tailwind.config.js
|
|
--input=apps/centralcloud_my/assets/css/app.css
|
|
--output=apps/centralcloud_my/priv/static/assets/app.css
|
|
),
|
|
cd: Path.expand("..", __DIR__)
|
|
]
|