-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (47 loc) · 966 Bytes
/
docker-compose.yml
File metadata and controls
52 lines (47 loc) · 966 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.8'
services:
frontend:
image: node:20
working_dir: /app
depends_on:
- backend
ports:
- "3000:3000"
volumes:
- node_modules:/app/node_modules
- ./frontend:/app
- ./docker/frontend.sh:/app/entrypoint.sh
entrypoint: bash -c /app/entrypoint.sh
networks:
- groqy
backend:
image: python:3.11.9-slim
working_dir: /app
depends_on:
- qdrant
ports:
- "8000:8000"
volumes:
- venv:/app/env
- ./backend/app:/app
- ./docker/backend.sh:/app/entrypoint.sh
- ./docker/wait-for-it.sh:/app/wait-for-it.sh
entrypoint: bash -c "/app/wait-for-it.sh -h qdrant -p 6333 && /app/entrypoint.sh"
networks:
- groqy
qdrant:
image: qdrant/qdrant
ports:
- "6333:6333"
expose:
- "6333:6333"
volumes:
- db:/qdrant/storage
networks:
- groqy
volumes:
db:
node_modules:
venv:
networks:
groqy: