-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.ssl.yml
63 lines (55 loc) · 1.28 KB
/
docker-compose.ssl.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
62
63
version: '2'
services:
nginx:
image: keymetrics/km-nginx-ssl
restart: always
ports:
- "443:443"
links:
- km-wizard
- pm2-io-enterprise-back
- pm2-io-enterprise-front
volumes:
- "/etc/ssl:/etc/ssl"
elasticsearch:
image: elasticsearch:5.5
restart: always
volumes:
- "esdata:/usr/share/elasticsearch/data"
mongodb:
image: mongo:3.6.16
restart: always
volumes:
- "mongodata:/data/db"
redis:
image: redis:5
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: