Skip to content

Commit c087e5c

Browse files
committed
add sample.env file for microservices example
1 parent 7d5c1d6 commit c087e5c

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Database type being used to store Chronos metrics
2+
CHRONOS_DB=<MongoDB or Postgres>
3+
# Database connection string for Chronos to write metric to
4+
CHRONOS_URI=<connection string for database to store Chronos metrics>
5+
6+
# Database connection strings for each microservice
7+
MONGO_URI_AUTH=<connection string for auth service>
8+
MONGO_URI_ITEMS=<connection string for items service>
9+
MONGO_URI_INVENTORY=<connection string for inventory service>
10+
MONGO_URI_ORDERS=<connection string for orders service>
11+
12+
# this is the secret for auth service to sign json web tokens
13+
JWT_KEY=thisStringDoesNotMatterItJustNeedsToBeDefined
14+
# this is time til expiration for the json web token
15+
JWT_LIFETIME=1d

0 commit comments

Comments
 (0)