-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (70 loc) · 1.53 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
networks:
dev:
driver: bridge
services:
backend:
image: iqp.web
build:
context: .
dockerfile: src/IQP.Web/Dockerfile
ports:
- "80:80"
- "443:443"
environment:
- PostgresConnectionString=Server=db;Port=5432;Database=iqp;User Id=postgres;Password=password;Include Error Detail=True;IntegratedSecurity=True;
- TestRunner__SamplesFolderPath=/samples
- TestRunner__SolutionsFolderPath=/solutions
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./Samples:/samples
- type: volume
source: shared
target: /solutions
depends_on:
- db
networks:
- dev
frontend:
image: iqp-frontend
ports:
- "5000:5000"
environment:
- VITE_API_URL=http://localhost
networks:
- dev
db:
image: postgres:latest
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=iqp
ports:
- "5433:5432"
volumes:
- ./data:/var/lib/postgresql/data
networks:
- dev
prometheus:
image: ubuntu/prometheus
container_name: dev_prometheus
ports:
- "30090:9090"
environment:
- TZ=UTC
volumes:
- ./prom/prometheus.yml:/etc/prometheus/prometheus.yml
networks:
- dev
grafana:
image: grafana/grafana
container_name: dev_grafana
ports:
- "30091:3000"
volumes:
- ./grafana-data/data:/var/lib/grafana
networks:
- dev
volumes:
shared:
name: shared