-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
33 lines (31 loc) · 747 Bytes
/
compose.yaml
File metadata and controls
33 lines (31 loc) · 747 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
30
31
32
33
services:
app:
image: ghcr.io/astral-sh/uv:debian-slim
working_dir: /app
volumes:
- ${PWD}:/app
entrypoint: uv
command: run main.py
# Modified from: https://github.com/Arize-ai/phoenix/blob/main/docker-compose.yml
phoenix:
image: arizephoenix/phoenix:version-7.3.2
depends_on:
- db
ports:
- 6006:6006
- 4317:4317
environment:
- PHOENIX_SQL_DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres
db:
image: postgres:16
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- 5432
volumes:
- database_data:/var/lib/postgresql/data
volumes:
database_data: