forked from prgrms-be-devcourse/NBE4-5-3-Team07
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (30 loc) · 728 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (30 loc) · 728 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
services:
frontend:
image: cjw0324/frontend-app
ports:
- "3000:3000"
backend:
image: cjw0324/backend-app
ports:
- "8080:8080"
command: "--spring.profiles.active=prod"
prometheus:
image: prom/prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--web.external-url=/prometheus"
grafana:
image: grafana/grafana
ports:
- "4000:3000"
volumes:
- grafana-storage:/var/lib/grafana
environment:
- GF_SERVER_ROOT_URL=https://www.devprep.shop/grafana
- GF_SERVER_SERVE_FROM_SUB_PATH=true
volumes:
grafana-storage: