-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
48 lines (42 loc) · 1.12 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
version: '3.8'
services:
haproxy:
image: haproxy:latest
container_name: haproxy
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
ports:
- 4444:4444
- 1905:1905
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
command: "--config.file=/etc/prometheus/prometheus.yml"
grafana:
image: grafana/grafana
container_name: grafana
ports:
- 3000:3000
environment:
- GF_SECURITY_ADMIN_PASSWORD=tugay
- GF_SECURITY_ADMIN_USER=tugay
application-platform-thread:
image: tugayesilyurt/application-platform-thread
container_name: application-platform-thread
build:
context: ./spring-boot-3-java-21-platform-thread
dockerfile: Dockerfile
ports:
- "8090:8090"
application-virtual-thread:
image: tugayesilyurt/application-virtual-thread
container_name: application-virtual-thread
build:
context: ./spring-boot-3-java-21-virtual-thread
dockerfile: Dockerfile
ports:
- "8091:8091"