diff --git a/dev/config.edn b/dev/config.edn new file mode 100644 index 000000000..db3c9b4f2 --- /dev/null +++ b/dev/config.edn @@ -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} +} +}