-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
36 lines (27 loc) · 888 Bytes
/
.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
# (c) dbj.org CC BY SA 4.0
# we keep all the env vars for all the containers
# in this one .env file
# this has pros and cons
# it is more manageable but for a smaller number of containers
# environprinter vars
ENVIRONMENT=staging
USERNAME=dusan
PASSWORD=test1234
API_KEY=QWERTY@12345
# note how we expose particular container config
# in here, so the devops can manage it easier
# we install redis inside noderis container aka "micro monolith"
# as a linux service, running on localhost on port 6379
# the free,safest and fastest redis solution
# this is the port of the clinet node js app itself
NODERIS_PORT=6380
# fontend backend constelation
FRONTEND_PORT=8284
BACKEND_PORT=3000
NODERIS_PORT=3212
# WARNING: be sure to match container names with hostnames
BACKEND_HOSTNAME=backend
FRONTEND_HOSTNAME=frontend
NODERIS_HOSTNAME=noderis
# for the cluster poc
CLUSTER_SLEEP=5000