Skip to content

Commit

Permalink
Add config file
Browse files Browse the repository at this point in the history
  • Loading branch information
armincerf committed Jul 6, 2022
1 parent 56cbdc2 commit 9dc3ab7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions dev/config.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
;; Used by bin/site to know where to send HTTP API requests.
:juxt.site.alpha/base-uri "http://localhost:5509"

:ig/system
{:juxt.site.alpha.db/xt-node
{
:xtdb.http-server/server {:port 5511}
:xtdb.rocksdb/block-cache {:xtdb/module xtdb.rocksdb/->lru-block-cache
:cache-size 1600000000}
:xtdb/tx-log
{:kv-store {:xtdb/module xtdb.rocksdb/->kv-store
:db-dir "db/txes"}}

:xtdb/document-store
{:kv-store {:xtdb/module xtdb.rocksdb/->kv-store
:db-dir "db/docs"}}

:xtdb/index-store
{:kv-store {:xtdb/module xtdb.rocksdb/->kv-store
:db-dir "db/idxs"}}}

:juxt.site.alpha.server/server
{:juxt.site.alpha/xt-node #ig/ref :juxt.site.alpha.db/xt-node
:juxt.site.alpha/port 5509

;; Really, this is the canoncial-uri prefix where /_site exists.
:juxt.site.alpha/base-uri #ref [:juxt.site.alpha/base-uri]

:juxt.site.alpha/dynamic? #profile {:dev true :prod false}}

:juxt.site.alpha.nrepl/server
{:juxt.site.alpha/port 5510}
}
}

0 comments on commit 9dc3ab7

Please sign in to comment.