forked from OpenDCAI/Paper2Any
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 955 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (31 loc) · 955 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
version: "3.8"
services:
paper2any-backend:
build:
context: .
dockerfile: Dockerfile
container_name: paper2any-backend
ports:
- "8000:8000"
environment:
- PYTHONUNBUFFERED=1
volumes:
- ./outputs:/app/outputs
- ./models:/app/models
- ./fastapi_app/.env:/app/fastapi_app/.env
restart: unless-stopped
paper2any-frontend:
build:
context: .
dockerfile: frontend-workflow/Dockerfile
args:
VITE_API_KEY: ${VITE_API_KEY:-df-internal-2024-workflow-key}
VITE_DEFAULT_LLM_API_URL: ${VITE_DEFAULT_LLM_API_URL:-https://api.apiyi.com/v1}
VITE_LLM_API_URLS: ${VITE_LLM_API_URLS:-https://api.apiyi.com/v1,http://b.apiyi.com:16888/v1,http://123.129.219.111:3000/v1}
VITE_API_BASE_URL: ${VITE_API_BASE_URL:-}
container_name: paper2any-frontend
ports:
- "3000:80"
depends_on:
- paper2any-backend
restart: unless-stopped