-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
61 lines (53 loc) · 1.24 KB
/
docker-compose.yml
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
version: '2'
services:
nginx:
image: keymetrics/km-nginx:latest
restart: always
ports:
- "80:80"
links:
- km-wizard
- pm2-io-enterprise-back
- pm2-io-enterprise-front
elasticsearch:
image: elasticsearch:5.5
restart: always
volumes:
- "esdata:/usr/share/elasticsearch/data"
mongodb:
image: mongo:4.0.22
restart: always
volumes:
- "mongodata:/data/db"
redis:
image: redis:6
restart: always
km-wizard:
image: keymetrics/km-wizard-dedicated
restart: always
links:
- redis
- mongodb
environment:
KM_MONGO_URL: mongodb://mongodb:27017/keymetrics
KM_REDIS_URL: redis://redis:6379
pm2-io-enterprise-back:
image: keymetrics/pm2-io-enterprise-back:latest
restart: always
links:
- redis
- elasticsearch
- mongodb
command: pm2-runtime dedicated.config.js
environment:
KM_ELASTICSEARCH_HOST: elasticsearch:9200
KM_ELASTIC_VERSION: '5.5'
KM_MONGO_URL: mongodb://mongodb:27017/keymetrics
KM_REDIS_URL: redis://redis:6379
NODE_ENV: "dedicated"
pm2-io-enterprise-front:
image: keymetrics/pm2-io-enterprise-front:latest
restart: always
volumes:
esdata:
mongodata: