-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.example
23 lines (18 loc) · 1.14 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
# MongoDB Configuration
DB_HOST = 127.0.0.1 # The host IP for MongoDB (localhost)
DB_NAME = ethers-node-js # The name of the MongoDB database
DB_PORT = 27017 # The port used to access MongoDB (when not using Docker)
DB_LOCAL_PORT = 27017 # The port used to access MongoDB from outside the Docker container
DB_DOCKER_PORT = 27017 # The port used to access MongoDB from within the Docker container
# Node.js Application Configuration
PORT = 5000 # The port on the host machine to access the Node.js application (when not using Docker)
NODE_LOCAL_PORT = 5000 # The port on which the Node.js application runs from outside the Docker container
NODE_DOCKER_PORT = 3000 # The port on which the Node.js application runs within the Docker container
# JWT_ACCESS_TOKEN_EXPIRES_IN: The expiration time for JWT access tokens.
JWT_ACCESS_TOKEN_EXPIRES_IN = 1d
# JWT_SECRET: The secret key used for JWT token signing.
JWT_SECRET = secret
# WORDS: The 12-word mnemonic for the HD wallet.
WORDS = 12-word mnemonic
# INFURA_API_KEY: Your Infura API key for connecting to the Ethereum network.
INFURA_API_KEY = your-infura-project-api-key