-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·59 lines (54 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
executable file
·59 lines (54 loc) · 1.22 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
version: '3.8'
services:
# Qdrant Vector Database
qdrant:
image: qdrant/qdrant:latest
container_name: aisociety_qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- ./data/qdrant_storage:/qdrant/storage
environment:
- QDRANT__SERVICE__GRPC_PORT=6334
restart: unless-stopped
networks:
- dnd_network
# Backend API Server
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: aisociety_backend
ports:
- "8000:8000"
environment:
- QDRANT_URL=http://qdrant:6333
- OPENAI_API_KEY=${OPENAI_API_KEY}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
volumes:
- ./backend:/app
- ./data/logs:/app/logs
depends_on:
- qdrant
restart: unless-stopped
networks:
- dnd_network
command: uvicorn api_server:app --host 0.0.0.0 --port 8000 --reload
# Frontend (optional - simple web UI)
# frontend:
# build:
# context: ./frontend
# dockerfile: Dockerfile
# container_name: aisociety_frontend
# ports:
# - "3000:3000"
# depends_on:
# - backend
# networks:
# - dnd_network
networks:
dnd_network:
driver: bridge
volumes:
qdrant_storage: