-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env-sample
41 lines (34 loc) · 1023 Bytes
/
.env-sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Logging, options: error, warn, info, debug and trace
RUST_LOG=info
# Reindex on start up. Will create all Redis index keys from the Neo4J graph
REINDEX=false
# Service
SERVER_HOST=localhost
SERVER_PORT=8080
# Watcher
TESTNET=true
# Tesnet bootstrap IP:PORT
BOOTSTRAP=127.0.0.1:6881
HOMESERVER=
# Needed for event streams. Should not be needed once PubkyClient is upgraded to return http URLs
HOMESERVER_URL=http://localhost:6287
# Maximum number of events to fetch at once from a homeserver
EVENTS_LIMIT=1000
# Sleep between checks to homeserver
WATCHER_SLEEP=5000
# Max amount of event retries
MAX_RETRIES=1
# Directory where static files are stored
STATIC_PATH=./static
FILE_PATH=./static/files
BASE_FILE_URL=localhost:8080/static/files/
# Neo4j database
NEO4J_HOST=localhost
NEO4J_PORT=7687
# Neo4J community does not support custom db_name and db_username, the default ones are 'neo4j'
NEO4J_DB_NAME=neo4j
NEO4J_DB_USERNAME=neo4j
NEO4J_PASSWORD=12345678
# Redis database
REDIS_HOST=localhost
REDIS_PORT=6379