-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 1.19 KB
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (44 loc) · 1.19 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
services:
# Mock LLM provider — configurable RPM limit, injectable 429s
# Used for local testing of Phase 6 rate learning
mock-provider:
build:
context: .
dockerfile: tests/mocks/Dockerfile
ports:
- "${MOCK_PROVIDER_PORT:-9000}:9000"
environment:
RPM_LIMIT: ${MOCK_PROVIDER_RPM_LIMIT:-100}
# API service — POST /v1/jobs/init + status + results endpoints
api:
build:
context: .
dockerfile: services/api/Dockerfile
ports:
- "8080:8080"
env_file:
- .env
depends_on:
- mock-provider
# Launcher — not run directly in local dev (triggered by Eventarc in GCP)
# Run individually for integration tests:
# docker compose run launcher
launcher:
build:
context: .
dockerfile: services/launcher/Dockerfile
env_file:
- .env
profiles:
- manual
# Execution pod — not run directly in local dev (spawned by launcher in GCP)
# Run individually against a local prompts.jsonl for end-to-end testing:
# docker compose run execution
execution:
build:
context: .
dockerfile: services/execution/Dockerfile
env_file:
- .env
profiles:
- manual