-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (44 loc) · 1.01 KB
/
docker-compose.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
47
48
49
version: "3.8"
services:
web:
depends_on:
- api
build: ./frontend
command: npm run dev
ports:
- 3000:3000
develop:
watch:
- path: ./frontend/package.json
action: rebuild
- path: ./frontend/package-lock.json
action: rebuild
- path: ./frontend
target: /app
action: sync
api:
build: ./Backend
ports:
- 3001:3001
environment:
PORT: 3001
URL: "mongodb+srv://vishalaggarwal270:[email protected]/"
develop:
watch:
- path: ./Backend/package.json
action: rebuild
- path: ./Backend/package-lock.json
action: rebuild
- path: ./Backend
target: /app
action: sync
prom-server:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- ./Backend/controllers/Prometheus-config.yml:/etc/prometheus/prometheus.yml
loki:
image: grafana/loki:latest
ports:
- 3100:3100