-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.env.example
44 lines (33 loc) · 1.42 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
# [REQUIRED] - the connection URL for the application database.
DB_USER=granola
DB_PASS=systems
DB_HOST=127.0.0.1
DB_PORT=5432
DB_NAME=db
DATABASE_URL=postgresql://granola:systems@127.0.0.1:5432/db
# [REQUIRED] - the connection URL for the archive database.
ARCHIVE_DATABASE_URL=postgresql://granola:systems@127.0.0.1:5432/db
# [REQUIRED] - origins allowed to make cross-site requests.
# Use "*" to allow from anywhere.
# to configure multiple origins use 'whitespace' as delimiter, e.g. "http://127.0.0.1:8080 http://my-web.com"
# SERVER_ALLOWED_ORIGINS="http://127.0.0.1:8080 http://my-web.com"
SERVER_ALLOWED_ORIGINS="*"
# [REQUIRED] - the mina network
# valid options are: "mainnet" | "devnet" | "berkeley"
MINA_NETWORK=mainnet
# [OPTIONAL] - overrides the ledger storage location
# LEDGER_STORAGE_PATH="./server/tmp"
# [REQUIRED] - the base URL for the API.
API_BASE_URL=http://127.0.0.1:8080
# [OPTIONAL] - defaults to 'development', or set to 'staging' or 'production'.
RELEASE_STAGE=production
# NEXT.JS PUBLIC
# Handle with care. These environment variables are publicly exposed in the client.
NEXT_PUBLIC_RELEASE_STAGE=production
NEXT_PUBLIC_API_BASE_URL=http://127.0.0.1:8080
# [OPTIONAL] - builds next as a standalone. [used in docker]
# NEXT_ENV_DOCKER=1
# [OPTIONAL] - skips .env validation [useful for testing and docker].
# SKIP_ENV_VALIDATION=1
# Sets the log level for the server. Must be on 'debug' for testing.
RUST_LOG=debug