generated from Arquisoft/radarin_0
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
48 lines (47 loc) · 1008 Bytes
/
docker-compose.yaml
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
version: '3.5'
volumes:
mongo_data: {}
prometheus_data: {}
grafana_data: {}
services:
mongoserver:
image: mongo
volumes:
- mongo_data:/data/db
ports:
- "27017:27017"
restapi:
build: ./restapi
ports:
- "5000:5000"
depends_on:
- mongoserver
webapp:
build: ./webapp
ports:
- "3000:3000"
depends_on:
- restapi
prometheus:
image: prom/prometheus
volumes:
- ./restapi/monitoring/prometheus:/etc/prometheus
- prometheus_data:/prometheus
ports:
- "9090:9090"
depends_on:
- restapi
grafana:
image: grafana/grafana
volumes:
- grafana_data:/var/lib/grafana
- ./restapi/monitoring/grafana/provisioning:/etc/grafana/provisioning
environment:
- GF_SERVER_HTTP_PORT=9091
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
ports:
- "9091:9091"
depends_on:
- restapi