forked from NangoHQ/nango
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
70 lines (70 loc) · 2.31 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
###############################################################################
#
# Configuration
#
# - Secure requests to with an API. Used to secure endpoints related to provider configs and credentials.
#
# NANGO_SECRET_KEY=<PICK-A-SECRET-KEY>
#
# - To enable database credentials encryption, uncomment with a base64-encoded 256-bit key (warning: you cannot change this key once set).
#
# NANGO_ENCRYPTION_KEY=<ADD-BASE64-256BIT-KEY>
#
# - Customize database to store provider configurations and credentials.
# (running 'npx nango start' creates a local Postgres database with the following credentials)
#
# NANGO_DB_USER=<PICK-A-USERNAME>
# NANGO_DB_PASSWORD=<PICK-A-PASSWORD>
# NANGO_DB_HOST=<PICK-A-HOST>
# NANGO_DB_PORT=<PICK-A-PORT>
# NANGO_DB_NAME=<PICK-A-DB-NAME>
# NANGO_DB_SSL=<PICK-TRUE-OR-FALSE>
# Override these 2 variables to configure the database connection pool / tune it for your needs i.e. serverless databases.
# NANGO_DB_POOL_MIN=<PICK-INT-OR-SKIP>
# NANGO_DB_POOL_MAX=<PICK-INT-OR-SKIP>
#
#
# - Configure server and worker port (current value is the default for running Nango locally).
#
SERVER_PORT=3003
WORKER_PORT=3004
#
#
# - Configure server full URL (current value is the default for running Nango locally).
#
NANGO_SERVER_URL=http://localhost:3003
#
# - Configure server websockets path (current value is the default for running Nango locally).
# If this is changed from the default, the client must be configured to use the same path using the `websocketsPath`
# config option in the Nango constructor.
#
# NANGO_SERVER_WEBSOCKETS_PATH=/
#
#
# - Configure a custom callback URL (by default it is NANGO_SERVER_URL/oauth/callback).
#
# NANGO_CALLBACK_URL=<CUSTOM-CALLBACK-URL>
#
#
# - Configure the username and password for securing Nango's dashboard.
#
# NANGO_DASHBOARD_USERNAME=<PICK-A-USERNAME>
# NANGO_DASHBOARD_PASSWORD=<PICK-A-PASSWORD>
#
#
# - Set the log level (debug: most verbose, info: recommended for production, error: least verbose)
#
LOG_LEVEL=info
#
#
# - Telemetry is minimal, anonymous and helps us improve (set to false to disable).
#
# TELEMETRY=false
#
# - Configure the HMAC feature for restricting the creation of new connections.
#
# NANGO_HMAC_ENABLED=true
# NANGO_HMAC_ALGORITHM=sha256
# NANGO_HMAC_KEY=<PICK-A-KEY>
#
###############################################################################