forked from 5afe/safe-client-gateway
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.sample
59 lines (51 loc) · 1.79 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
## rinkeby
# TRANSACTION_SERVICE_URL=https://safe-transaction.rinkeby.staging.gnosisdev.com
# TRANSACTION_SERVICE_URL=https://safe-transaction.rinkeby.gnosis.io
## mainnet
# TRANSACTION_SERVICE_URL=https://safe-transaction.mainnet.staging.gnosisdev.com
TRANSACTION_SERVICE_URL=https://safe-transaction.gnosis.io
## Feature Flags
FEATURE_FLAG_NESTED_DECODING=true
SCHEME=http
# Random string (generated with openssl rand -base64 32)
ROCKET_SECRET_KEY=Qt6DPFUU8qO4BKTCQnKAgt9FBBJxIWAYUGyHuruVfpE=
ROCKET_LOG_LEVEL=normal
ROCKET_PORT=8000
ROCKET_ADDRESS=127.0.0.1
#ROCKET_PORT=8000
#ROCKET_ADDRESS=localhost
WEBHOOK_TOKEN=some_random_token
#Rocket logs are noise-y, this value filters the logs for errors and our perf monitor
#Set to "debug" when developing
RUST_LOG=safe_client_gateway=error,safe_client_gateway::monitoring=info
LOG_ALL_ERROR_RESPONSES=false
## Time outs for caches (all have defaults in the code)
## The unit of these values is "seconds"
# cache
#SAFE_INFO_CACHE_DURATION=1
#ADDRESS_INFO_CACHE_DURATION=1
#TOKEN_INFO_CACHE_DURATION=1
#EXCHANGE_API_CACHE_DURATION=1
#REQUEST_CACHE_DURATION=1
#ABOUT_CACHE_DURATION=1
#BALANCES_REQUEST_CACHE_DURATION=1
#SAFE_APP_MANIFEST_CACHE_DURATION=1
#REQS_ERROR_CACHE_DURATION=1
#INDEFINITE_TIMEOUT=1 # long cache duration of your choice
#SHORT_ERROR_DURATION=1
#LONG_ERROR_DURATION=1
## Http request time outs
## The unit of these values is "milliseconds"
INTERNAL_CLIENT_CONNECT_TIMEOUT=10000
SAFE_APP_INFO_REQUEST_TIMEOUT=10000
## Redis
REDIS_URL=redis://127.0.0.1:6379
#REDIS_SCAN_COUNT=300
## Miscellaneous config
#NATIVE_COIN_DECIMALS=18
#NATIVE_COIN_SYMBOL=ETH
#NATIVE_COIN_NAME=Ether
CHAIN_ID=1 # mainnet
## Exchange rate API: https://exchangeratesapi.io/
EXCHANGE_API_BASE_URL=http://api.exchangeratesapi.io/latest
EXCHANGE_API_KEY=your_exchange_rate_api_token