51 lines
1.4 KiB
Elixir
51 lines
1.4 KiB
Elixir
import Config
|
|
|
|
config :cortex_status,
|
|
generators: [timestamp_type: :utc_datetime]
|
|
|
|
config :cortex_status, CortexStatusWeb.Endpoint,
|
|
url: [host: "localhost"],
|
|
adapter: Bandit.PhoenixAdapter,
|
|
render_errors: [
|
|
formats: [html: CortexStatusWeb.ErrorHTML, json: CortexStatusWeb.ErrorJSON],
|
|
layout: false
|
|
],
|
|
pubsub_server: CortexStatus.PubSub,
|
|
live_view: [signing_salt: "cortex_lv_salt"]
|
|
|
|
config :cortex_status, :services,
|
|
symbiont_url: "http://127.0.0.1:8111",
|
|
dendrite_url: "http://localhost:3000",
|
|
dendrite_api_key: "8dc5e8f7a02745ee8db90c94b2481fd9e1deeea1e2ce74420f54047859ea7edf",
|
|
monitored_sites: [
|
|
{"hydrascale.net", "https://hydrascale.net"},
|
|
{"browser.hydrascale.net", "https://browser.hydrascale.net/health"}
|
|
]
|
|
|
|
config :esbuild,
|
|
version: "0.17.11",
|
|
cortex_status: [
|
|
args: ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets),
|
|
cd: Path.expand("../assets", __DIR__),
|
|
env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)}
|
|
]
|
|
|
|
config :tailwind,
|
|
version: "3.4.3",
|
|
cortex_status: [
|
|
args: ~w(
|
|
--config=tailwind.config.js
|
|
--input=css/app.css
|
|
--output=../priv/static/assets/app.css
|
|
),
|
|
cd: Path.expand("../assets", __DIR__)
|
|
]
|
|
|
|
config :logger, :console,
|
|
format: "$time $metadata[$level] $message\n",
|
|
metadata: [:request_id]
|
|
|
|
config :phoenix, :json_library, Jason
|
|
|
|
import_config "#{config_env()}.exs"
|