-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.env.example
executable file
·125 lines (95 loc) · 3.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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
NODE_ENV=dev
PORT=5420
IPFS_NODE_URL=http://host.docker.internal:5001
PUBLIC_IPFS_RESOLVER=https://ipfs.io
IPFS_RESOLVER_OVERRIDE=http://host.docker.internal:8089/ipfs
### Database - Postgres
PG_HOST=db_boilerplate
PG_PORT=5432
POSTGRES_USER=walter
POSTGRES_PASSWORD=white
POSTGRES_DB=boilerplate
DATABASE_URL=postgresql://walter:white@db_boilerplate:5432/boilerplate
### JWT
JWT_SECRET=secretshhh
JWT_EXPIRATION=
SESSION_KEY=
# log4j Levels: trace, debug, info, warn, error, fatal
PINO_LOG_LEVEL=trace
### Redis Cache
REDIS_HOST=host.docker.internal
REDIS_PORT=6379
REDIS_URL=redis://host.docker.internal:6379
# LOCAL DEV
MNEMONIC=test test test test test test test test test test test junk
# http://localhost:1984
#
# LIVE:
# host: 'arweave.net',
# port: 443,
# protocol: 'https'
#
ARWEAVE_ENABLED=0
ARWEAVE_HOST=
ARWEAVE_PORT=
ARWEAVE_PROTOCOL=
## generate here: npx ts-node desci-server/src/utils/generateArweaveKeys.ts
ARWEAVE_PUBKEY=
# base64-encoded private key JSON stringified object (https://docs.arweave.org/developers/server/http-api#key-format)
ARWAVE_SECRET_PRIVATE_KEY_SECRET=
COOKIE_DOMAIN=
ESTUARY_API_KEY=
ESTUARY_API_URL=https://api.estuary.tech
SERVER_URL=http://localhost:5420
DAPP_URL=http://localhost:3000
THEGRAPH_API_URL=http://host.docker.internal:8000/subgraphs/name/nodes
# set to true if need to send email
SHOULD_SEND_EMAIL=
SENDGRID_API_KEY=
# S3 Bucket
AWS_S3_BUCKET_NAME=
AWS_S3_BUCKET_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# for faucet
HOT_WALLET_KEY=
# https://cso-classifier.internal
CSO_CLASSIFIER_API=
# vscode runnable
VSCODE_ACCESS_TOKEN=
# nodes media server (DOI resolution, video transcoding, LaTeX -> PDF Conversion)
NODES_MEDIA_SERVER_URL=http://host.docker.internal:5454
# honeycomb.io telemetry
OTEL_SERVICE_NAME=
HONEYCOMB_API_KEY=
DISCORD_NOTIFICATIONS_WEBHOOK_URL=
# for sending nodes cover cid to media servers
# must match value in nodes-media/.env
MEDIA_SECRET_KEY=supersecret
ORCID_API_DOMAIN=sandbox.orcid.org
ORCID_CLIENT_ID=
ORCID_CLIENT_SECRET=
REPO_SERVER_URL=http://host.docker.internal:5484
REPO_SERVICE_SECRET_KEY=secretrepo
# To run bootstrapCeramic.sh, you need the admin seed for the model IDs to be the same
CERAMIC_ADMIN_SEED=
# ISOLATED MEDIA SERVER
ISOLATED_MEDIA_SERVER_URL=http://media_isolated:7771
IPFS_READ_ONLY_GATEWAY_SERVER=http://host.docker.internal:8089/ipfs # Used to proxy ipfs requests for ISOLATED_MEDIA_SERVER
# SET TO 1 to run communities seed script
RUN=1
# Enable google api functionalities
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET= # Unnecessary for now, not doing serverside 2step
GOOGLE_DEV_API_KEY= # Unnecessary for now, not doing serverside 2step
## Configure RPC nodes (open an issue/ping us to access DeSci Labs' nodes)
ETHEREUM_RPC_URL=http://host.docker.internal:8545
# Use this for Goerli testnet
# ETHEREUM_RPC_URL=https://eth-goerli.g.alchemy.com/v2/demo
# Use this for Sepolia testnet
# ETHEREUM_RPC_URL=https://eth-sepolia.g.alchemy.com/v2/demo
DPID_URL_OVERRIDE=https://dev-beta.dpid.org
# Set to true if you want to mute the publish worker in local dev
MUTE_PUBLISH_WORKER=false
# SingleNodeLockServce
MAX_LOCK_TIME=3600 # 1 hour