-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env.local
94 lines (80 loc) · 4.62 KB
/
.env.local
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# nx
NX_CLOUD_AUTH_TOKEN=OGM4NWRjYzAtZTg2MS00ZTEzLWE3MjEtODlmZTM3NWU2YWYzfHJlYWQtd3JpdGU=
NX_CACHE_DIRECTORY=/tmp/nx-cache
# hasura
HASURA_VERSION=v2.15.2
HASURA_GRAPHQL_SERVER_PORT=8080
HASURA_ADMIN_SECRET=password
HASURA_GRAPHQL_ADMIN_SECRET=password
HASURA_CONSOLE_PORT=9695
HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:password@db:5432/postgres
# TODO: activate once allow list fonctionnal
# HASURA_GRAPHQL_ENABLE_ALLOWLIST=true
# db
POSTGRES_USER=postgres
POSTGRES_DB=postgres
POSTGRES_PASSWORD=password
POSTGRES_PORT=5432
# apps/web
NEXT_PUBLIC_HASURA_PROJECT_ENDPOINT=http://localhost:8080/v1/graphql
CLIENT_PORT=3000
CLIENT_HOST=localhost
NEXTAUTH_URL=http://localhost:3000
## IMPORTANT ! Keep the "" arround in NEXTAUTH_SECRET to avoid convertion to string litteral, otherwise \n not interpreted and private key will not work
NEXTAUTH_SECRET="-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCUT2D12vnJqrz2\nCviWdnXJFvYMqKw+GtWYC9U9NxeQWs7NDMm+4hV2fKiNPEs5OiSo/W12KNvvbA9R\nZBrG4G6KYihABDaXXP+i80uDM9CH9zaDysLdKrc7ixWB1lISsYa0q+Idz75rdX9k\ncnjmomCtamiyPTmrxIdC58/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46k4F9Q3JTrOJCo2zt1gLrBsawBHL//eyhAoGBAKkj\nNqlb4nAPWWEV+yNmxICb+vQQXFC8wp/6M/0/srfuuuN7raISFv8mPxzPpDUunSHx\no2m8Kcdhko0z4EmTkP1gQeoGm+HyXXy4Dy/GWJ6eETHo9V/BtOyQBBrkj16DmX82\nRahhL1QAgrQkwxXOF0xTunScawUcM9bto9JUJ+tFAoGAYNW+AnwfXAkVSRRMTlIv\nFRIahrPOxUh5K0lvtIms7DNthhKjX3Up65y3IO/O/2ritALSSo0pjHHG3r00Cepr\nB3qMi/sBgOjyCpt8kZbYPlmbh5mFthd7tC4T6MRAtZo7C7/PJ+9oZVLdsNMvkP23\nvmM6kfyt8NbHrFqS6Z8VJn8=\n-----END PRIVATE KEY-----\n"
GITHUB_ID=a16177a6afd82e5225cb
GITHUB_SECRET=7a67ef505214dc91cb8b7980cd48f6bc688bffa8
GOOGLE_CLIENT_ID=943647852999-glqo35avh3aglbt6j72ks24pj2ncljk9.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
TOKEN_LIFE_TIME="2592000 # 30 days"
PBKDF2_ITERATIONS="10000 # 10000 iterations of PBKDF2"
PBKDF2_KEY_SIZE="16 # 512 bits https://cryptojs.gitbook.io/docs/#pbkdf2"
# mailer
EMAIL_FROM=no-reply@web3-monorepo.com
EMAIL_SERVER_USER=username
EMAIL_SERVER_PASSWORD=password
EMAIL_SERVER_HOST="mailhog # smtp.mydomain.com"
EMAIL_SERVER_PORT=1025
EMAIL_WEB_UI=8025
# cypress
# common
NODE_ENV=development
# VIRTUAL_HOST=example.com
# LETSENCRYPT_HOST=example.com
# LETSENCRYPT_EMAIL=example@gmail.com
# Prisma & NestJS
PRISMA_DB_PORT=5464
PRISMA_DATABASE_URL=postgresql://postgres:password@localhost:5464/postgres
### need to point to prisma-db and not localhost because hasura running on docker
PRISMA_DATABASE_URL_HASURA=postgresql://postgres:password@prisma-db:5432/postgres
NEST_HOST=localhost
NEST_PORT=3333
NEST_API_URL=http://host.docker.internal:3333/api
# Redis
REDIS_PORT=6379
REDIS_HOST=localhost
REDIS_URL=redis://localhost:6379
# DLT
### Check libs/dlt/types/src/lib/chainsId.ts for available networks
COINGECKO_API_URL=https://api.coingecko.com/api/v3
ETHEREUM_NETWORK='Ethereum Mainnet'
POLYGON_NETWORK='Polygon Mainnet'
ARBITRUM_NETWORK='Arbitrum One'
# ALCHEMY_API_KEY=
# ALCHEMY_POLYGON_MAINNET_TOKEN=
ALCHEMY_POLYGON_MAINNET_URL=https://polygon-mainnet.g.alchemy.com/v2/
ALCHEMY_POLYGON_MAINNET_WS=wss://polygon-mainnet.g.alchemy.com/v2/
# ALCHEMY_ARBITRUM_MAINNET_TOKEN=
ALCHEMY_ARBITRUM_MAINNET_URL=https://arb-mainnet.g.alchemy.com/v2/
ALCHEMY_ARBITRUM_MAINNET_WS=wss://arb-mainnet.g.alchemy.com/v2/
# ALCHEMY_ETHEREUM_MAINNET_TOKEN=
ALCHEMY_ETHEREUM_MAINNET_URL=https://eth-mainnet.g.alchemy.com/v2/
ALCHEM_ETHEREUM_MAINNET_WS=wss://eth-mainnet.g.alchemy.com/v2/
## real limit is 50
ETHEREUM_COINGECKO_PAGE_THRESHOLD=2
## real limit is 20
POLYGON_COINGECKO_PAGE_THRESHOLD=1
## real limit is 4
ARBITRUM_COINGECKO_PAGE_THRESHOLD=1
# Sentry
SENTRY_IGNORE_API_RESOLUTION_ERROR=1