-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (62 loc) · 1.7 KB
/
Copy pathdocker-compose.yml
File metadata and controls
66 lines (62 loc) · 1.7 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
# Copyright 2026 Firefly Software Foundation
services:
postgres:
image: pgvector/pgvector:pg16
environment:
POSTGRES_USER: flyquery
POSTGRES_PASSWORD: flyquery
POSTGRES_DB: flyquery
ports:
- "5552:5432" # 55XX series per Firefly OS convention
volumes:
- flyquery_pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U flyquery -d flyquery"]
interval: 2s
timeout: 2s
retries: 30
redis:
image: redis:7-alpine
ports:
- "6552:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 2s
timeout: 2s
retries: 30
minio:
image: minio/minio:latest
environment:
MINIO_ROOT_USER: flyquery
MINIO_ROOT_PASSWORD: flyqueryflyquery
command: server /data --console-address ":9001"
ports:
- "9552:9000"
- "9553:9001"
volumes:
- flyquery_minio:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 5s
retries: 30
# Local embedding provider (default for ``settings.embedding_provider=ollama``).
# On first `docker compose up` the model is pulled lazily on demand --
# the embed-stage call to ``/api/embed`` triggers the download. Use
# ``docker compose exec ollama ollama pull nomic-embed-text`` to
# warm the cache ahead of the first ingest.
ollama:
image: ollama/ollama:latest
ports:
- "11552:11434"
volumes:
- flyquery_ollama:/root/.ollama
healthcheck:
test: ["CMD", "ollama", "list"]
interval: 10s
timeout: 5s
retries: 12
volumes:
flyquery_pgdata:
flyquery_minio:
flyquery_ollama: