-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.1 KB
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.1 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
services:
postgres:
image: postgres:16-alpine
container_name: finima-postgres
environment:
POSTGRES_USER: finima
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-finima_dev}
POSTGRES_DB: finima
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U finima -d finima"]
interval: 5s
timeout: 5s
retries: 5
ollama:
image: ollama/ollama:latest
container_name: finima-ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
minio:
image: minio/minio:latest
container_name: finima-minio
command: server /data --console-address ":9001"
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-finima}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-finima_dev}
volumes:
- minio_data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 5s
retries: 3
volumes:
pgdata:
ollama_data:
minio_data: