init commit
This commit is contained in:
46
config/config.exs
Normal file
46
config/config.exs
Normal file
@@ -0,0 +1,46 @@
|
||||
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, :console,
|
||||
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"
|
||||
Reference in New Issue
Block a user