-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
compose.yml
68 lines (62 loc) · 1.59 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3.9"
name: voilib
services:
backend:
# from building development compose services
image: docker.io/unmonoqueteclea/voilib-backend:3.2.0
ports:
- ${VOILIB_API_PORT:-81}:80
command: uvicorn src.voilib.main:app --reload --host 0.0.0.0 --port 80
volumes:
- ./data/:/data/
healthcheck:
test: ["CMD", "curl", "-f", "0.0.0.0/app/version"]
interval: 6s
timeout: 10s
retries: 50
frontend:
# from building development compose services
image: docker.io/unmonoqueteclea/voilib-ui:0.6.0
depends_on:
backend:
condition: service_healthy
ports:
- ${VOILIB_FRONTEND_PORT:-80}:5173
environment:
- VITE_API_PORT=${VOILIB_API_PORT:-81}
healthcheck:
test: ["CMD", "curl", "-f", "0.0.0.0:5173"]
interval: 6s
timeout: 10s
retries: 50
management:
image: docker.io/unmonoqueteclea/voilib-backend:3.2.0
ports:
- ${VOILIB_MANAGEMENT_PORT:-8501}:8501
entrypoint: ""
command: streamlit run src/voilib/management/🏠-Home.py
volumes:
- ./data/:/data/
redis:
image: redis:7.0.4-alpine
hostname: redis
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30
worker:
image: docker.io/unmonoqueteclea/voilib-backend:3.2.0
depends_on:
redis:
condition: service_healthy
entrypoint: ""
command: python src/voilib/worker.py
volumes:
- ./data/:/data/
qdrant:
image: qdrant/qdrant:v1.1.3
expose:
- 6333
volumes:
- ./data/qdrant/:/qdrant/storage