-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (46 loc) · 1.05 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (46 loc) · 1.05 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
48
49
50
version: "3.8"
services:
web:
build:
context: .
dockerfile: Dockerfile.app
ports:
- "${WEB_PORT:-3000}:3000"
environment:
- AI_PROVIDER=${AI_PROVIDER:-ollama}
- LLM_PROVIDER=${LLM_PROVIDER:-ollama}
- OLLAMA_URL=http://mock-ollama:11434/api/generate
- COMPILE_SERVICE_URL=http://compile:3030
depends_on:
- mock-ollama
- compile
compile:
build:
context: ./services/latex
dockerfile: Dockerfile
ports:
- "3030:3030"
mock-ollama:
build:
context: ./services/mock-ollama
dockerfile: Dockerfile
ports:
- "11434:11434"
environment:
- PORT=11434
api:
build:
context: ./services/api
dockerfile: Dockerfile
ports:
- "4000:4000"
environment:
- OLLAMA_URL=http://mock-ollama:11434/api/generate
- COMPILE_SERVICE_URL=http://compile:3030/compile
depends_on:
- mock-ollama
- compile
# Optional: add volumes if you'd like to persist PDFs
# volumes:
# autoats_out:
# driver: local