43 lines
1.2 KiB
Elixir
43 lines
1.2 KiB
Elixir
import Config
|
|
|
|
config :workload_service, :amqp_url, "amqp://guest:guest@localhost:5672"
|
|
|
|
config :workload_service, WorkloadService.EventStore,
|
|
serializer: Commanded.Serialization.JsonSerializer,
|
|
username: "postgres",
|
|
password: "postgres",
|
|
database: "workload_service_eventstore_dev",
|
|
hostname: "localhost",
|
|
pool_size: 10
|
|
|
|
config :workload_service, WorkloadService.Repo,
|
|
username: "postgres",
|
|
password: "postgres",
|
|
hostname: "localhost",
|
|
database: "workload_service_dev",
|
|
stacktrace: true,
|
|
show_sensitive_data_on_connection_error: true,
|
|
pool_size: 10
|
|
|
|
config :workload_service, WorkloadServiceWeb.Endpoint,
|
|
http: [ip: {127, 0, 0, 1}],
|
|
check_origin: false,
|
|
code_reloader: true,
|
|
debug_errors: true,
|
|
secret_key_base: "rSPVNB6DCC2RMMlmk9QkCVGAzasUD6AWh5ussctvNuUxgZL9DRnFXTo6jcIz6JpB",
|
|
watchers: []
|
|
|
|
config :workload_service, dev_routes: true
|
|
|
|
config :logger, :default_formatter, format: "[$level] $message\n"
|
|
|
|
config :phoenix, :stacktrace_depth, 20
|
|
|
|
config :phoenix, :plug_init_mode, :runtime
|
|
|
|
config :open_api_spex, :cache_adapter, OpenApiSpex.Plug.NoneCache
|
|
|
|
config :workload_service,
|
|
provider_service_url: "http://localhost:4002",
|
|
solicitation_service_url: "http://localhost:8081"
|