-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (42 loc) · 786 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (42 loc) · 786 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
44
45
46
47
version: '3.8'
services:
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
ports:
- "80:80"
depends_on:
- backend
networks:
- app-network
backend:
build:
context: .
dockerfile: Dockerfile.backend
ports:
- "3000:3000"
environment:
- NODE_ENV=production
# Add other env vars from .env here
networks:
- app-network
prometheus:
image: prom/prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
networks:
- app-network
grafana:
image: grafana/grafana
ports:
- "3001:3000"
networks:
- app-network
depends_on:
- prometheus
networks:
app-network:
driver: bridge