forked from robertsLando/statistics-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (50 loc) · 1.16 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
version: "3.7"
services:
mongodb:
image : mongo
container_name: mongodb_container
volumes:
- mongodb-data:/data/db
ports:
- 27017:27017
restart: unless-stopped
apis:
build: ./backend
container_name: apis_container
environment:
- MONGO_HOST=mongodb
ports:
- 5000:5000
restart: unless-stopped
charts:
image: quay.io/mongodb/charts:v1.20.2
ports:
- 9999:80
environment:
CHARTS_SUPPORT_WIDGET_AND_METRICS: 'on'
SSL_CERT_DIR: /mongodb-charts/volumes/db-certs
CHARTS_MONGODB_URI: 'mongodb://mongodb:27017'
volumes:
- keys:/mongodb-charts/volumes/keys
- logs:/mongodb-charts/volumes/logs
- db-certs:/mongodb-charts/volumes/db-certs
- web-certs:/mongodb-charts/volumes/web-certs
container_name: charts_container
depends_on:
- mongodb
# node-red:
# image: nodered/node-red:latest
# container_name: nodered_container
# environment:
# - TZ=Europe/Amsterdam
# ports:
# - "1880:1880"
# volumes:
# - ./node-red:/data
# restart: unless-stopped
volumes:
mongodb-data:
keys:
logs:
db-certs:
web-certs: