generated from Arquisoft/dede_0
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-deploy.yml
47 lines (46 loc) · 1.05 KB
/
docker-compose-deploy.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
version: '3.5'
volumes:
prometheus_data: {}
grafana_data: {}
services:
restapi:
image: ghcr.io/arquisoft/dede_en_01a/restapi:latest
ports:
- "5001:5000"
webapp:
image: ghcr.io/arquisoft/dede_en_01a/webapp:latest
ports:
- "3000:3000"
depends_on:
- restapi
prom-node-exporter:
image: prom/node-exporter
ports:
- "9100:9100"
depends_on:
- restapi
prometheus:
image: prom/prometheus
volumes:
- ./restapi/monitoring/prometheus:/etc/prometheus
- prometheus_data:/prometheus
ports:
- "9090:9090"
depends_on:
- restapi
- prom-node-exporter
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
- prometheus