Files
workload-service/config/config.exs
HaimKortovich 17d2a359cc
All checks were successful
Build and Publish / build-release (push) Successful in 1m21s
use default-formatter
2026-04-16 15:40:35 -05:00

47 lines
1.2 KiB
Elixir

import Config
config :workload_service,
ecto_repos: [WorkloadService.Repo],
event_stores: [WorkloadService.EventStore]
config :workload_service, WorkloadServiceWeb.Endpoint,
url: [host: "localhost"],
adapter: Bandit.PhoenixAdapter,
render_errors: [
formats: [json: WorkloadServiceWeb.ErrorJSON],
layout: false
],
pubsub_server: WorkloadService.PubSub,
live_view: [signing_salt: "workload_secret"]
config :logger, :default_formatter,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
config :phoenix, :json_library, Jason
config :workload_service, WorkloadService.CommandedApp,
event_store: [
adapter: Commanded.EventStore.Adapters.EventStore,
event_store: WorkloadService.EventStore
],
pub_sub: :local,
registry: :local
config :commanded,
event_store_adapter: Commanded.EventStore.Adapters.EventStore
config :commanded_ecto_projections,
repo: WorkloadService.Repo
config :flop, repo: WorkloadService.Repo
config :workload_service, WorkloadService.Repo,
database: "workload_service_dev",
username: "postgres",
password: "postgres",
host: "localhost",
pool_size: 10
import_config "#{config_env()}.exs"