starting files

This commit is contained in:
2026-03-05 12:58:23 -07:00
commit 76c164d931
38 changed files with 1239 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
defmodule ElixirAi.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
ElixirAiWeb.Telemetry,
{DNSCluster, query: Application.get_env(:elixir_ai, :dns_cluster_query) || :ignore},
{Phoenix.PubSub, name: ElixirAi.PubSub},
ElixirAiWeb.Endpoint
]
opts = [strategy: :one_for_one, name: ElixirAi.Supervisor]
Supervisor.start_link(children, opts)
end
@impl true
def config_change(changed, _new, removed) do
ElixirAiWeb.Endpoint.config_change(changed, removed)
:ok
end
end