Test-Task
/
docker-compose.yml
56 строк · 1.1 Кб
1version: '3'
2
3services:
4jbpmn:
5image: jboss/jbpm-server-full
6ports:
7- "8080:8080"
8environment:
9- POSTGRES_DB=your_database_name
10- POSTGRES_USER=your_database_user
11- POSTGRES_PASSWORD=your_database_password
12depends_on:
13- postgres
14
15nginx:
16image: nginx
17ports:
18- "80:80"
19depends_on:
20- jbpmn
21- grafana
22
23postgres:
24image: postgres
25environment:
26POSTGRES_USER: postgres_user
27POSTGRES_PASSWORD: postgres_password
28POSTGRES_DB: postgres_database
29
30prom:
31image: prom/prometheus
32ports:
33- "9090:9090"
34volumes:
35- ./prometheus.yml:/etc/prometheus/prometheus.yml
36command:
37- '--config.file=/etc/prometheus/prometheus.yml'
38depends_on:
39- node-exporter
40
41grafana:
42image: grafana/grafana
43ports:
44- "3000:3000"
45depends_on:
46- prom
47environment:
48- GF_SECURITY_ADMIN_PASSWORD=admin_password
49volumes:
50- ./grafana/provisioning:/etc/grafana/provisioning
51- ./grafana/dashboards:/var/lib/grafana/dashboards
52
53node-exporter:
54image: prom/node-exporter
55ports:
56- "9100:9100"
57