-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
56 lines (48 loc) · 1.1 KB
/
.env.example
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
# used in docker-compose
COMPOSE_PROJECT_NAME=utxo-indexer
DB_PROXY_PORT=5432
SERVER_PROXY_PORT=8000
# used in django and postgres
DJANGO_SETTINGS_MODULE=project.settings.remote
DB_NAME=db
DB_USER=db
DB_HOST=postgresdb
DB_PORT=5432
DB_PASSWORD=secret
SECRET_KEY=secret
# needed for deployment
# ALLOWED_HOST=hosturl,nohttp
USER_UID=${USER_UID}
USER_GID=${USER_GID}
# EXPORT_METRICS=true
# SENTRY_DSN=dsn
# SENTRY_ENVIRONMENT=develop
# SENTRY_TRACES_SAMPLE_RATE=0.1
# CORS_ALLOWED_ORIGINS=csv,frontend,includehttp
# DJANGO_ADMIN_PATH=admin/
# ADMIN_EMAIL=email
# ADMIN_PASSWORD=email
# indexer config
# required
# btc | doge
SOURCE_NAME=btc
NODE_RPC_URL=url
AUTH_USERNAME=user
AUTH_PASSWORD=pass
# optional
INDEXER_POLL_INTERVAL=10
INITIAL_BLOCK_HEIGHT=1
NUMBER_OF_BLOCK_CONFIRMATIONS=60
NUMBER_OF_WORKERS=10
PRUNE_KEEP_DAYS=0
PRUNE_INTERVAL_SECONDS=60
## Testing Secrets
TEST_BTC_V3_NODE_RPC_URL=url
TEST_BTC_V3_AUTH_USERNAME=user
TEST_BTC_V3_AUTH_PASSWORD=pass
DOGE_NODE_RPC_URL=url
DOGE_AUTH_USERNAME=user
DOGE_AUTH_PASSWORD=pass
TEST_DOGE_NODE_RPC_URL=url
TEST_DOGE_AUTH_USERNAME=user
TEST_DOGE_AUTH_PASSWORD=pass