-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example.dev
More file actions
64 lines (53 loc) · 2.1 KB
/
.env.example.dev
File metadata and controls
64 lines (53 loc) · 2.1 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# used in docker-compose
COMPOSE_PROJECT_NAME=data-availability
COMPOSE_FILE=docker/docker-compose.dev.yaml
DB_PROXY_PORT=5432
SERVER_PROXY_PORT=8000
# used in pg
DB_NAME=db
DB_USER=db
DB_PASSWORD=secret
# used in django
DJANGO_SETTINGS_MODULE=project.settings.local
SECRET_KEY=secret
# these default to db and 5432 in django, uncomment if need to be changed
# DB_HOST=db
# DB_PORT=5432
# logging
LOG_LEVEL=DEBUG
# LOG_FORMAT=json
# DEBUG_LOG_API_KEY=true
# caching - defaults to redis:6379, falls back to locmem if unavailable
# REDIS_HOST=redis
# REDIS_PORT=6379
# REDIS_USERNAME=
# REDIS_PASSWORD=
# project related
# rpc, for flare nodes usually ending with /ext/bc/C/rpc
# rpc is also used to derive which chain you are connecting to (via chain_id)
# so no "per chain" configuration is required
RPC_URL=RPC_URL
# optionally uncomment below line to override default processing start height
# indexer will start from specified when database will be empty otherwise
# it will continue from where it stopped, this defaults to block where
# latest version of Relay contract was deployed per chain
# INDEXING_DEFAULT_HEIGHT=block
# optionally uncomment below line to override default processing sleep cycle
# indexer will sleep for this many seconds when up to date with blockchain tip
# this defaults to 20
# INDEXING_SLEEP_CYCLE=20
# optionally uncomment below line to override default processing batch size
# indexer will try to index up to this many blocks at the same time
# this defaults to 30
# INDEXING_BATCH_SIZE=30
# if you only want to use data availability for one protocol, comment out the other
# ftso providers: all three values are comma separated strings
# empty string is expected when there is no api key
FTSO_PROVIDER_LOGGING_NAMES=<> # FTSO provider logging names
FTSO_PROVIDER_URLS=<> # FTSO provider URL
FTSO_PROVIDER_API_KEYS=<> # FTSO provider api keys
# fdc providers: all three values are comma separated strings
# empty string is expected when there is no api key
FDC_PROVIDER_LOGGING_NAMES=<> # FTSO provider logging names
FDC_PROVIDER_URLS=<> # FTSO provider URL
FDC_PROVIDER_API_KEYS=<> # FTSO provider api keys