Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Updated .env.sample for completion (#332)
Browse files Browse the repository at this point in the history
* Updated .env.sample for completion

* Added new values and units to .env.sample

* Commented out more values
  • Loading branch information
jpalvarezl authored Apr 1, 2021
1 parent 88039a0 commit b4895f1
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,12 +1,53 @@
TRANSACTION_SERVICE_URL=https://safe-transaction.staging.gnosisdev.com
## 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

SCHEME=http
# Random string (generated with openssl rand -base64 32)
ROCKET_SECRET_KEY=Qt6DPFUU8qO4BKTCQnKAgt9FBBJxIWAYUGyHuruVfpE=
ROCKET_LOG=off
ROCKET_DATABASES={service_cache={url="redis://127.0.0.1:6379"}}
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

## Miscelaneous config
#REDIS_SCAN_COUNT=300
#NATIVE_COIN_DECIMALS=18
#NATIVE_COIN_SYMBOL=ETH
#NATIVE_COIN_NAME=Ether

## Exchange rate API: https://exchangeratesapi.io/
EXCHANGE_API_BASE_URL=http://api.exchangeratesapi.io/latest
EXCHANGE_API_KEY=your_exchange_rate_api_token

0 comments on commit b4895f1

Please sign in to comment.