-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.env
58 lines (46 loc) · 1.66 KB
/
example.env
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
# This file is used to configure enviroment variables for Docker Compose and Nx
# For Docker Compose documentation, see: https://docs.docker.com/compose/environment-variables/set-environment-variables/
# For Nx documentation, see: https://nx.dev/recipes/environment-variables/define-environment-variables
##################
##### REDIS ######
##################
REDIS_HOST=localhost
REDIS_PORT=6379
############################################
##### DATABASE FOR USER AUTHENTICATION #####
############################################
DATABASE_AUTH_HOST=localhost
DATABASE_AUTH_PORT=5433
DATABASE_AUTH_USERNAME=postgres
DATABASE_AUTH_PASSWORD=1234567890
DATABASE_AUTH_DBNAME=authentication
#######################################
##### DATABASE FOR FINANCIAL DATA #####
#######################################
DATABASE_FINANCIAL_HOST=localhost
DATABASE_FINANCIAL_PORT=5434
DATABASE_FINANCIAL_USERNAME=postgres
DATABASE_FINANCIAL_PASSWORD=1234567890
DATABASE_FINANCIAL_DBNAME=financial
########################
##### JWT CONFIGS #####
#######################
JWT_SECRET_KEY=09d9059c-23c1-4309-91c7-cda91abab092
JWT_EXPIRES_IN=1h
JWT_MAX_AGE=1h
JWT_REFRESH_SECRET_KEY=83814af2-927e-414a-abd1-83524f7cad65
JWT_REFRESH_EXPIRES_IN=7d
JWT_REFRESH_EXPIRES_IN_ADMIN=1d
JWT_REFRESH_MAX_AGE=7d
########################
##### AUTH SERVICE #####
########################
AUTH_SERVICE_PORT=3001
AUTH_SERVICE_BUILD_OPENAPI=false
AUTH_SERVICE_LOG_DIR='./dist/logs/auth-service/'
#############################
##### FINANCIAL SERVICE #####
#############################
FINANCIAL_SERVICE_PORT=3002
FINANCIAL_SERVICE_BUILD_OPENAPI=false
FINANCIAL_SERVICE_AUTH_VERIFY_ENDPOINT=http://localhost:3001/auth/verify