-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml.old
More file actions
65 lines (58 loc) · 1.51 KB
/
docker-compose.yml.old
File metadata and controls
65 lines (58 loc) · 1.51 KB
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
version: '3.8'
services:
# The Broken Services
app-v1:
image: python:3.10-slim
container_name: app-v1
volumes:
- ./app.py:/app/app.py
working_dir: /app
environment: # 1% failure (Stable)
- FAILURE_RATE=0.0
- APP_NAME=V1
command: sh -c "pip install flask prometheus_client && python app.py"
ports:
- "5001:5000"
- "8001:8000"
app-v2:
image: python:3.10-slim
container_name: app-v2
volumes:
- ./app.py:/app/app.py
working_dir: /app
environment: # 40% failure (Broken)
- FAILURE_RATE=0.0
- APP_NAME=V2
command: sh -c "pip install flask prometheus_client && python app.py"
ports:
- "5003:5000"
- "8003:8000"
# sre-agent:
# image: python:3.10-slim
# container_name: sre-agent
# depends_on:
# - prometheus
# - phoenix
# - app-server
# volumes:
# - ./agentic_sre.py:/app/agentic_sre.py
# - ./requirements.txt:/app/requirements.txt
# working_dir: /app
# environment:
# - OPENAI_API_KEY=sk-abcdef1234567890abcdef1234567890abcdef12
# command: sh -c "pip install -r requirements.txt && python agent_sre.py"
# Metric Collection
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
# Agent Tracing
phoenix:
image: arizephoenix/phoenix:latest
container_name: phoenix
ports:
- "6006:6006"
- "4317:4317"