Skip to content

Commit cee4ccc

Browse files
committed
Add config file
1 parent 0101613 commit cee4ccc

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

dev/config.edn

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
;; Used by bin/site to know where to send HTTP API requests.
3+
:juxt.site.alpha/base-uri "http://localhost:5509"
4+
5+
:ig/system
6+
{:juxt.site.alpha.db/xt-node
7+
{
8+
:xtdb.http-server/server {:port 5511}
9+
:xtdb.rocksdb/block-cache {:xtdb/module xtdb.rocksdb/->lru-block-cache
10+
:cache-size 1600000000}
11+
:xtdb/tx-log
12+
{:kv-store {:xtdb/module xtdb.rocksdb/->kv-store
13+
:db-dir "db/txes"}}
14+
15+
:xtdb/document-store
16+
{:kv-store {:xtdb/module xtdb.rocksdb/->kv-store
17+
:db-dir "db/docs"}}
18+
19+
:xtdb/index-store
20+
{:kv-store {:xtdb/module xtdb.rocksdb/->kv-store
21+
:db-dir "db/idxs"}}}
22+
23+
:juxt.site.alpha.server/server
24+
{:juxt.site.alpha/xt-node #ig/ref :juxt.site.alpha.db/xt-node
25+
:juxt.site.alpha/port 5509
26+
27+
;; Really, this is the canoncial-uri prefix where /_site exists.
28+
:juxt.site.alpha/base-uri #ref [:juxt.site.alpha/base-uri]
29+
30+
:juxt.site.alpha/dynamic? #profile {:dev true :prod false}}
31+
32+
:juxt.site.alpha.nrepl/server
33+
{:juxt.site.alpha/port 5510}
34+
}
35+
}

0 commit comments

Comments
 (0)