-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (68 loc) · 1.81 KB
/
Copy pathdocker-compose.yml
File metadata and controls
72 lines (68 loc) · 1.81 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER:-minato}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-minato}
POSTGRES_DB: ${POSTGRES_DB:-minato}
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${POSTGRES_USER:-minato} -d ${POSTGRES_DB:-minato}",
]
interval: 5s
timeout: 3s
retries: 10
meilisearch:
image: getmeili/meilisearch:v1.13
restart: unless-stopped
environment:
MEILI_ENV: ${MEILI_ENV:-development}
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:-masterKeyMasterKeyMasterKey}
MEILI_EXPERIMENTAL_ENABLE_VECTORS: "true"
ports:
- "${MEILI_PORT:-7700}:7700"
volumes:
- meili_data:/meili_data
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:7700/health"]
interval: 5s
timeout: 3s
retries: 10
ollama:
image: ollama/ollama:latest
restart: unless-stopped
ports:
- "${OLLAMA_PORT:-11434}:11434"
volumes:
- ollama_data:/root/.ollama
# GPU access is opt-in; uncomment on a machine with an NVIDIA GPU.
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]
grobid:
image: ${GROBID_IMAGE:-lfoppiano/grobid:0.8.2}
restart: unless-stopped
ports:
- "${GROBID_PORT:-8070}:8070"
environment:
JAVA_OPTS: ${GROBID_JAVA_OPTS:--Xmx4g}
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:8070/api/isalive || exit 1"]
interval: 10s
timeout: 5s
retries: 20
start_period: 60s
volumes:
postgres_data:
meili_data:
ollama_data: