-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yml
58 lines (53 loc) · 1.13 KB
/
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
version: "3.8"
networks:
backend:
k6:
services:
proxy:
container_name: aoai-proxy
build: ./src/proxy
ports:
- 8080:8080
environment:
- ASPNETCORE_ENVIRONMENT=Local
networks:
- backend
k6:
image: grafana/k6:latest
networks:
- k6
- backend
ports:
- "6565:6565"
environment:
- PROXY_ENDPOINT=http://aoai-proxy:8080
env_file: .env
volumes:
- ./src/k6/:/scripts
prometheus:
image: prom/prometheus:v2.49.1
restart: always
ports:
- 9090:9090
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- --web.enable-remote-write-receiver
- --enable-feature=native-histograms
- --config.file=/etc/prometheus/prometheus.yml
networks:
- backend
grafana:
image: grafana/grafana:10.3.1
ports:
- "3000:3000"
environment:
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_BASIC_ENABLED=false
networks:
- backend
depends_on:
- prometheus
volumes:
- ./config/grafana/:/etc/grafana/provisioning/