-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
69 lines (64 loc) · 1.75 KB
/
docker-compose.yaml
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
services:
grafana:
container_name: 'grafana-pyroscope-app'
build:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-enterprise}
grafana_version: ${GRAFANA_VERSION:-11.3.2}
ports:
- ${GRAFANA_PORT:-3000}:3000/tcp
volumes:
- ./dist:/var/lib/grafana/plugins/grafana-pyroscope-app
- ./samples/provisioning:/etc/grafana/provisioning
- ./samples/dashboards:/var/lib/grafana/dashboards
environment:
GF_INSTALL_PLUGINS: grafana-llm-app
OPENAI_API_KEY: $OPENAI_API_KEY
OPENAI_ORGANIZATION_ID: $OPENAI_ORGANIZATION_ID
qdrant:
image: qdrant/qdrant
volumes:
- qdrant-storage:/qdrant/storage
pyroscope:
container_name: 'pyroscope'
image: grafana/pyroscope:latest
ports:
- 4100:4100/tcp
volumes:
- ./samples/pyroscope:/etc/pyroscope
environment:
GITHUB_CLIENT_ID: $GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET: $GITHUB_CLIENT_SECRET
GITHUB_SESSION_SECRET: $GITHUB_SESSION_SECRET
rideshare:
build:
context: ./samples/rideshare
ports:
- 5000
environment:
- PYROSCOPE_SERVER_ADDRESS=http://pyroscope:4100
# Set this to 1 to turn on debug logging.
- DEBUG=0
deploy:
mode: replicated
replicas: 5
depends_on:
- pyroscope
rideshare-load-generator:
build:
context: ./samples/rideshare
dockerfile: Dockerfile.load-generator
environment:
- HOST_PREFIX=pyroscope-app-plugin_rideshare
# This should be the same as the rideshare replica count.
- REPLICAS=5
# Set this to 1 to turn on debug logging.
- DEBUG=0
depends_on:
- rideshare
- pyroscope
logging:
driver: none
volumes:
qdrant-storage: