-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
34 lines (32 loc) · 910 Bytes
/
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
services:
frontend:
image: node:18
working_dir: /app
ports:
- "3000:3000"
volumes:
- ./frontend/receipt-scanner:/app
command: sh -c "npm install && npm run start"
#command: sh -c "npm install -g serve && serve -s build"
environment:
- CHOKIDAR_USEPOLLING=true
- REACT_APP_API_URL=http://localhost:8000/api
- REACT_APP_ENV=development
- NODE_ENV=development
backend:
build: ./backend
ports:
- 8000:8000
volumes:
- ./backend/app:/app/app
- ./system_prompt.txt:/app/system_prompt.txt
- ./user_prompt.txt:/app/user_prompt.txt
env_file:
- .env
environment:
IS_TEST: "false"
LOG_LEVEL: DEBUG
MODEL_NAME: "gpt-4o-mini" # Must use a vision-enabled model
ALLOWED_ORIGINS: "*"
SYSTEM_PROMPT_FILE: /app/system_prompt.txt
USER_PROMPT_FILE: /app/user_prompt.txt