-
Notifications
You must be signed in to change notification settings - Fork 21
/
.env.example
53 lines (44 loc) · 2.01 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
## In order to start working, copy the needed env vars from this file
## in a .env.dev file. There must be DATABASE_URL and CLICKHOUSE_DATABASE_URL
## in order to be able to start the application
## In case you don't want to or cannot connect to a Clickhouse database,
## setting `CLICKHOUSE_REPO_ENABLED=false` will disable the ClickhouseRepo
## and some of the services that run in the background
# DATABASE_URL="ecto://postgres:postgres@localhost:5432/sanbase_dev"
# CLICKHOUSE_DATABASE_URL="ecto://sanbase@clickhouse-proxy.stage.san:30901/default"
# PRICE_VALIDATOR_ENABLED=false
# CLIENTS_THAT_REQUIRE_SAN_TOKENS={"grafana": 50}
# CLICKHOUSE_REPO_ENABLED=true
#
# In case this is false, no attempt to start brod and connect to the cluster kafka
# will be made. Still the InMemoryKafka will run though and the parts of the code
# that emit kafka messages will just emit them to a GenServer
# REAL_KAFKA_ENABLED=false
# KAFKA_URL="kafka.stage.san"
# KAFKA_PORT="30911, 30912, 30913"
## To access stage and production services, WireGuard VPN must be on
## Apart from the RDS Postgres, the other services do not contain a secret
## username/password as they are read-only and do not contain user data
#############
## Stage ##
#############
# DATABASE_URL="ecto://username:password@rds_postgres_host:5432/santiment"
# CLICKHOUSE_DATABASE_URL="ecto://sanbase@clickhouse-proxy.stage.san:30901/default"
# METRICS_HUB_URL="http://metricshub.stage.san:31080/"
# TECH_INDICATORS_URL="http://techindicators.stage.san:31080"
# PARITY_URL="parity.stage.san:30954"
# ETHAUTH_URL="http://ethauth"
#############
## OAuth ##
#############
## If OAuth has to be tested locally, the preferred approach is to
## generate oauth id, key and secret from a developer's account
# GOOGLE_OAUTH_CLIENT_ID=""
# GOOGLE_OAUTH_CLIENT_SECRET=""
# TWITTER_OAUTH_CONSUMER_KEY=""
# TWITTER_OAUTH_CONSUMER_SECRET=""
##############
### Various ##
##############
# Print interpolated SQL query when executing CH, so it's ready for copy-paste
# PRINT_INTERPOLATED_CLICKHOUSE_SQL=true