forked from Arize-ai/openinference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
29 lines (29 loc) · 698 Bytes
/
compose.yaml
File metadata and controls
29 lines (29 loc) · 698 Bytes
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
services:
phoenix:
image: arizephoenix/phoenix:latest
ports:
- "6006:6006"
backend:
build:
context: ./backend
dockerfile: Dockerfile
args:
OPENAI_API_KEY: ${OPENAI_API_KEY}
ports:
- "8000:8000"
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- COLLECTOR_ENDPOINT=http://phoenix:6006/v1/traces
- PROD_CORS_ORIGIN=http://localhost:3000
healthcheck:
test: ["CMD", "wget", "--spider", "http://0.0.0.0:8000/api/chat/healthcheck"]
interval: 5s
timeout: 1s
retries: 5
frontend:
build: frontend
ports:
- "3000:3000"
depends_on:
backend:
condition: service_healthy