-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (39 loc) · 1.11 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
name: litellm-agw-perf
services:
mock-server:
container_name: perf-mock-server
image: howardjohn/hyper-server:latest
env_file:
- ${MOCK_SERVER_ENV_FILE:?MOCK_SERVER_ENV_FILE must be set}
ports:
- "8081:8081"
litellm:
container_name: perf-litellm
image: ghcr.io/berriai/litellm:main-latest
command: ["--config", "/app/config.yaml"]
volumes:
- ./configs/litellm-config.yaml:/app/config.yaml:ro
environment:
DEFAULT_NUM_WORKERS_LITELLM_PROXY: ${LITELLM_WORKERS:-}
ports:
- "4000:4000"
depends_on:
mock-server:
condition: service_started
healthcheck:
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health/liveliness"]
interval: 3s
timeout: 3s
retries: 20
start_period: 10s
agentgateway:
container_name: perf-agentgateway
image: ghcr.io/agentgateway/agentgateway:v1.4.1
command: ["-f", "/app/config.yaml"]
volumes:
- ./configs/agentgateway.yaml:/app/config.yaml:ro
ports:
- "4001:4001"
depends_on:
mock-server:
condition: service_started