-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
52 lines (45 loc) · 945 Bytes
/
docker-compose.yaml
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:
app:
build:
context: ./app
container_name: app_service
command: python -m uvicorn app:app --host 0.0.0.0 --port 7420
volumes:
- ./app:/opt/app-root/src/app:rw
environment:
- PYTHONUNBUFFERED=1
- LOWMEM=${LOWMEM}
ports:
- "7420:7420"
chromadb:
image: chromadb/chroma
restart: unless-stopped
ports:
- "8000:8000"
volumes:
- ./data/chroma_data:/chroma/chroma
# app-cron:
# container_name: app-cron
# build:
# context: cron
# dockerfile: Dockerfile
# restart: unless-stopped
frontend:
build:
context: ./frontend
container_name: frontend_service
command: python gradio
volumes:
- ./frontend:/frontend
environment:
- PYTHONUNBUFFERED=1
- PORT=7860
ports:
- "7860:7860"
networks:
default:
driver: bridge
volumes:
chroma-data:
driver: local