forked from microrealestate/microrealestate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprod.env
62 lines (53 loc) · 1.49 KB
/
prod.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
# 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
# NGINX
NGINX_PORT=8080
# Microservices
NODE_ENV=production
LOGGER_LEVEL=debug
SIGNUP=true
BASE_DB_URL=mongodb://mongo/demodb
## authenticator
AUTHENTICATOR_PORT=8000
AUTHENTICATOR_TOKEN_DB_URL=redis://redis
# TODO change this password
AUTHENTICATOR_TOKEN_DB_PASSWORD=change_this_password
# TODO change this secret
AUTHENTICATOR_ACCESS_TOKEN_SECRET=change_this_access_token_secret
# TODO change this secret
AUTHENTICATOR_REFRESH_TOKEN_SECRET=change_this_refresh_token_secret
# TODO change this secret
AUTHENTICATOR_RESET_TOKEN_SECRET=change_this_reset_token_secret
AUTHENTICATOR_URL=http://authenticator:${AUTHENTICATOR_PORT}
## pdfgenerator
PDFGENERATOR_PORT=8300
PDFGENERATOR_URL=http://pdfgenerator:${PDFGENERATOR_PORT}/pdfgenerator
## emailer
EMAILER_PORT=8400
MAILGUN_API_KEY=your_api_key
MAILGUN_DOMAIN=mg.example.com
EMAIL_FROM="Example <[email protected]>"
EMAILER_URL=http://emailer:${EMAILER_PORT}/emailer
## loca
CONFIG_DIR=
LOCA_PORT=8100
## api
API_PORT=8200
DEMO_MODE=true
RESTORE_DB=true
## frontend
FRONTEND_PORT=8180
APP_NAME=MicroRealEstate
APP_PORT=3000
BASE_PATH=/app
APP_URL=http://localhost:${APP_PORT}/${BASE_PATH}
API_URL=http://localhost:${NGINX_PORT}/api/v2
DOCKER_API_URL=http://host.docker.internal:${NGINX_PORT}/api/v2