-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (38 loc) · 841 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (38 loc) · 841 Bytes
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
version: '3.8'
networks:
app-network:
driver: bridge
volumes:
prometheus_data:
services:
application:
container_name: application
build:
context: .
dockerfile: Dockerfile
ports:
- '3333:3333'
networks:
- app-network
prometheus:
container_name: prometheus
image: prom/prometheus:v3.4.1
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus_data:/prometheus
ports:
- '9090:9090'
networks:
- app-network
grafana:
container_name: grafana
image: grafana/grafana:12.0.2
volumes:
- ./config/grafana/provisioning:/etc/grafana/provisioning
- ./config/grafana/dashboards:/var/lib/grafana/dashboards
ports:
- '3000:3000'
networks:
- app-network
depends_on:
- prometheus