File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Define directories
2- DIRS := auth client client-dev common event-bus inventory items
2+ DIRS := auth client client-dev common event-bus inventory items orders
33
44# Define the content of the .env file
55define ENV_CONTENT
Original file line number Diff line number Diff line change 1+ CHRONOS_DB = MongoDB
2+ # Database connection string for Chronos to write metric to
3+ CHRONOS_URI = mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5
4+
5+ # Database connection strings for each microservice
6+ MONGO_URI_AUTH = mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5
7+ MONGO_URI_ITEMS = mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5
8+ MONGO_URI_INVENTORY = mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5
9+ MONGO_URI_ORDERS = mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.5
10+
11+ # this is the secret for auth service to sign/verify json web tokens
12+ JWT_KEY = thisStringDoesNotMatterItJustNeedsToBeDefined
13+ # this is time til expiration for the json web token
14+ JWT_LIFETIME = 1d
You can’t perform that action at this time.
0 commit comments