forked from microrealestate/microrealestate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.env
80 lines (69 loc) · 2.06 KB
/
dev.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Redis
REDIS_PORT=6379
# Mongo
MONGO_PORT=27017
# TODO change this KEY
CIPHER_KEY=change_this_cipher_key
# TODO change this KEY
CIPHER_IV_KEY=change_this_cipher_iv_key
# Microservices
NODE_ENV=development
LOGGER_LEVEL=debug
SIGNUP=true
BASE_DB_URL=mongodb://mongo/demodb
## gateway
GATEWAY_PORT=8080
GATEWAY_DEBUG_PORT=9225
GATEWAY_EXPOSE_FRONTENDS=true
CORS_ENABLED=false
GATEWAY_URL=http://localhost:${GATEWAY_PORT}/api/v2
DOCKER_GATEWAY_URL=http://host.docker.internal:${GATEWAY_PORT}/api/v2
## authenticator
AUTHENTICATOR_PORT=8000
AUTHENTICATOR_DEBUG_PORT=9226
AUTHENTICATOR_TOKEN_DB_URL=redis://redis
# TO SET change this password
AUTHENTICATOR_TOKEN_DB_PASSWORD=change_this_password
# TO SET change this secret
AUTHENTICATOR_ACCESS_TOKEN_SECRET=change_this_access_token_secret
# TO SET change this secret
AUTHENTICATOR_REFRESH_TOKEN_SECRET=change_this_refresh_token_secret
# TO SET change this secret
AUTHENTICATOR_RESET_TOKEN_SECRET=change_this_reset_token_secret
AUTHENTICATOR_URL=http://authenticator:${AUTHENTICATOR_PORT}
## pdfgenerator
PDFGENERATOR_PORT=8300
PDFGENERATOR_DEBUG_PORT=9227
PDFGENERATOR_URL=http://pdfgenerator:${PDFGENERATOR_PORT}/pdfgenerator
## emailer
ALLOW_SENDING_EMAILS=true
EMAILER_PORT=8400
EMAILER_DEBUG_PORT=9228
MAILGUN_API_KEY=your_api_key
MAILGUN_DOMAIN=mg.example.com
EMAIL_FROM="Example <[email protected]>"
EMAILER_URL=http://emailer:${EMAILER_PORT}/emailer
## api
DEMO_MODE=true
RESTORE_DB=true
API_PORT=8200
API_DEBUG_PORT=9229
API_URL=http://api:${API_PORT}/api/v2
## resetservice
## /!\ To not add in production just for test purposes
RESETSERVICE_PORT=8900
RESETSERVICE_DEBUG_PORT=9230
RESETSERVICE_URL=http://resetservice:${RESETSERVICE_PORT}
## frontend
APP_NAME=MicroRealEstate
DOMAIN_URL=http://localhost
## landlord frontend
LANDLORD_FRONTEND_PORT=8180
LANDLORD_BASE_PATH=/landlord
LANDLORD_APP_URL=${APP_URL}${LANDLORD_BASE_PATH}
## tenant frontend
TENANT_FRONTEND_PORT=8190
TENANT_BASE_PATH=/tenant
TENANT_APP_URL=${APP_URL}${TENANT_BASE_PATH}