48 lines
1.3 KiB
Clojure
48 lines
1.3 KiB
Clojure
{
|
|
;; Specify which middleware to use, it will default to :chan.
|
|
:middleware :kafka
|
|
|
|
;; If set to true, orchestra will instrument all the spec'ed functions
|
|
:instrument-spec true
|
|
|
|
:datomic
|
|
{:transactor-url "datomic:free://localhost:4334/skirmish.ledger"}
|
|
|
|
;; all the kafka configuration goes bellow.
|
|
:kafka
|
|
{:bootstrap.servers #or [#env KAFKA_BOOTSTRAP_SERVERS "localhost:9092"]
|
|
:topics-prefix "skirmish-01-"}
|
|
|
|
;; possible config from http-kit's run-server that will affect the api-server
|
|
:api-server
|
|
{:port #long #or [#env API_SERVER_PORT 1602]
|
|
:ip "0.0.0.0"
|
|
:max-body 524288 ;; 512kb, small but enough
|
|
:max-ws 524288}
|
|
|
|
;; possible config from http-kit's run-server that will affect the api-bookkeeper
|
|
:api-bookkeeper
|
|
{:port #long #or [#env API_SERVER_PORT 1603]
|
|
:ip "0.0.0.0"
|
|
:max-body 524288 ;; 512kb, small but enough
|
|
:max-ws 524288}
|
|
|
|
:ledger-server
|
|
{:port #long #or [#env LEDGER_SERVER_PORT 1604]
|
|
:ip "0.0.0.0"
|
|
:max-body 524288 ;; 512kb, small but enough
|
|
:max-ws 524288}
|
|
|
|
:api-broker
|
|
{:port #long #or [#env BROKER_SERVER_PORT 1605]
|
|
:ip "0.0.0.0"
|
|
:max-body 524288 ;; 512kb, small but enough
|
|
:max-ws 524288
|
|
:default-sec-id :dapm
|
|
:datomic {:transactor-url "datomic:free://localhost:4334/skirmish.broker"}}
|
|
|
|
:wui
|
|
{:port #long #or [#env WUI_PORT 3000]}}
|
|
|
|
|