-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-build.yml
More file actions
31 lines (28 loc) · 978 Bytes
/
docker-compose-build.yml
File metadata and controls
31 lines (28 loc) · 978 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
version: "3.8"
services:
pdferret:
build:
context: .
image: pdferret
ports:
- "127.0.0.1:58080:80"
dns:
- 8.8.8.8
- 4.4.4.4
environment:
- PDFERRET_GROBID_URL=http://grobid:8070
- PDFERRET_TIKA_SERVER_URL=http://tika:9998
- PDFERRET_TIKA_OCR_STRATEGY=AUTO
- LLMONKEY_GROQ_API_KEY=${LLMONKEY_GROQ_API_KEY}
- LLMONKEY_OPENAI_API_KEY=${LLMONKEY_OPENAI_API_KEY}
- LLMONKEY_DEEPINFRA_API_KEY=${LLMONKEY_DEEPINFRA_API_KEY}
- LLMONKEY_COHERE_API_KEY=${LLMONKEY_COHERE_API_KEY}
- LLMONKEY_MISTRAL_API_KEY=${LLMONKEY_MISTRAL_API_KEY}
- LLMONKEY_NEBIUS_API_KEY=${LLMONKEY_NEBIUS_API_KEY}
- GOOGLE_APPLICATION_CREDENTIALS=/app/pdferret/application_default_credentials.json
volumes:
- ${HOME}/.config/gcloud/application_default_credentials.json:/app/pdferret/application_default_credentials.json
tika :
image: apache/tika:latest-full
ports:
- "9998:9998"