init codebase
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{:server {:host "0.0.0.0" :port 3000}
|
||||
:db {:host "localhost" :port 5432 :dbname "ajet_chat"
|
||||
:user "ajet" :password "ajet_dev" :pool-size 5}
|
||||
:oauth {:github {:client-id "" :client-secret "" :enabled false}
|
||||
:gitea {:client-id "" :client-secret "" :base-url "" :enabled false}
|
||||
:oidc {:client-id "" :client-secret "" :issuer-url "" :enabled false}}
|
||||
:services {:api {:host "localhost" :port 3001}
|
||||
:web-sm {:host "localhost" :port 3002}
|
||||
:tui-sm {:host "localhost" :port 3003}}
|
||||
:session {:ttl-days 30
|
||||
:cookie-name "ajet_session"
|
||||
:cookie-secure false}
|
||||
:rate-limit {:enabled true}
|
||||
:cors {:allowed-origins ["http://localhost:3000" "http://localhost:3002"]
|
||||
:allowed-methods [:get :post :put :delete :options]
|
||||
:allowed-headers ["Content-Type" "Authorization" "X-Trace-Id"]
|
||||
:max-age 86400}
|
||||
|
||||
:profiles
|
||||
{:test {:db {:host "localhost" :port 5433 :dbname "ajet_chat_test"
|
||||
:password "ajet_test"}}
|
||||
:prod {:session {:cookie-secure true}
|
||||
:cors {:allowed-origins ["https://chat.example.com"]}}}}
|
||||
Reference in New Issue
Block a user