-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (45 loc) · 1.37 KB
/
docker-compose.yml
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
version: "3"
services:
# nextjs:
# build: ./06-chatbot-app
# ports:
# - "80:3000" # Expose Next.js app on port 80
# environment:
# - API_SEARCH_SERVER=http://python-api:8055
# depends_on:
# - python-api
python-api:
build: ./05-search-api
ports:
- "8055:8055" # Expose Python API locally, not accessible outside
environment:
- QDRANT_URL=http://qdrant:6333
- QDRANT_COLLECTION_NAME=${QDRANT_COLLECTION_NAME}
- QDRANT_API_KEY=${QDRANT_API_KEY} # Set Qdrant password
depends_on:
- qdrant
qdrant:
image: qdrant/qdrant
ports:
- "6333:6333"
volumes:
- qdrant_storage:/qdrant/storage
environment:
- QDRANT__SERVICE__API_KEY=${QDRANT_API_KEY} # Set Qdrant password
unesp-auth:
image: postgres:15 # Use the latest stable version of PostgreSQL
ports:
- "5432:5432"
environment:
- POSTGRES_USER=unesp_user
- POSTGRES_PASSWORD=unesp_password
- POSTGRES_DB=unesp_auth # Set the database name
volumes:
- unesp_auth_data:/var/lib/postgresql/data
volumes:
qdrant_storage:
driver: local
redis_storage:
driver: local
unesp_auth_data:
driver: local