-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.env.default
50 lines (45 loc) · 1012 Bytes
/
docker-compose.env.default
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
NODE_ENV = .docker
APP_NAME = brokelab
# Moleculer config
PORT = 3000
VERSION = v1
NAMESPACE = DockerBroker
LOGGER = Laboratory
LOGLEVEL = info
FAULTRETRY = false
FAULTBULKHEAD = false
CONTEXTTRACKING = false
CIRCUITBREAKER = false
METRICS = Laboratory
TRACING = Laboratory
LAB_PORT = 3210
LAB_TOKEN = labdemo
LAB_APIKEY =
STRATEGY = RoundRobin
SERIALIZER = ProtoBuf
TRANSPORTER = nats://nats:4222
CACHER = Memory
# Socket.io
SOCKET_IO_ADAPTER = nats://nats:4222
SOCKET_IO_PORT = 3000
# Redis
REDIS_HOST = redis
REDIS_PORT = 6379
REDIS_USER =
REDIS_PASSWORD =
REDIS_DB_INDEX = 0
REDIS_URI = redis://redis:6379
# DB config
POSTGRES_HOST = postgres
POSTGRES_USER = postgres
POSTGRES_PASSWORD = test
POSTGRES_PORT = 5432
POSTGRES_DB = test
POSTGRES_URI = postgres://postgres:test@postgres:5432/test
MONGO_URI = mongodb://mongo/test
# Access
SALT_WORK_FACTOR = 10
REFRESH_TOKEN_SECRET = REFRESH-TOKEN-SECRET
ACCESS_TOKEN_SECRET = ACCESS-TOKEN-SECRET
ACCESS_TOKEN_EXPIRES = 180m
ACCESS_TOKEN_EXPIRES_SEC = 10800