-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
47 lines (45 loc) · 1.06 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
version: '3'
services:
app:
build: .
ports:
- "7860:7860"
environment:
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_SERVER_PORT=7860
- OPENAI_API_KEY=${OPENAI_API_KEY}
- DATABASE_URL=${DATABASE_URL}
- TRANSFORMERS_CACHE=/code/.cache/huggingface
- HF_HOME=/code/.cache/huggingface
- MPLCONFIGDIR=/code/.config/matplotlib
- PADDLE_HOME=/code/.paddleocr
- HOME=/code
- TMPDIR=/code/tmp
- PYTHONPATH=/code
volumes:
- .:/code
- cache_data:/code/.cache
- config_data:/code/.config
- paddle_data:/code/.paddleocr
- tmp_data:/code/tmp
- uploaded_files:/code/uploaded_files
- extracted_images:/code/extracted_images
user: "1000:1000"
# networks:
# - supabase_network
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
# networks:
# supabase_network:
# external: true
# name: supabase_default
volumes:
cache_data:
config_data:
paddle_data:
tmp_data:
uploaded_files:
extracted_images: