-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (56 loc) · 1.3 KB
/
docker-compose.yml
File metadata and controls
60 lines (56 loc) · 1.3 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
services:
app:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "8080:8080"
depends_on:
- postgres
environment:
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/ai_proxy
- AUTH0_DOMAIN=${AUTH0_DOMAIN}
- AUTH0_API_AUDIENCE=${AUTH0_API_AUDIENCE}
- AUTH0_ISSUER=${AUTH0_ISSUER}
- AUTH0_ALGORITHMS=${AUTH0_ALGORITHMS}
restart: unless-stopped
volumes:
- ./:/app
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
ports:
- "80:4321"
depends_on:
- app
environment:
- PUBLIC_API_URL=http://app:8080
- CHAT_APP_URL=http://localhost:8081
restart: unless-stopped
openwebui:
image: ghcr.io/open-webui/open-webui:main
ports:
- "8081:8080"
environment:
- OPENAI_API_BASE_URL=http://app:8080/v1
- WEBUI_AUTH=false
depends_on:
- app
volumes:
- openwebui_data:/app/backend/data
restart: unless-stopped
postgres:
image: postgres:16-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=ai_proxy
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
postgres_data:
openwebui_data: