-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.public.yml
More file actions
49 lines (45 loc) · 1.2 KB
/
Copy pathdocker-compose.public.yml
File metadata and controls
49 lines (45 loc) · 1.2 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
# ProjectCompass - Docker Compose for end users
# Usage: docker compose up -d
# Docs: https://github.com/GiacomoSaccaggi/ProjectCompass
services:
projectcompass:
image: ghcr.io/giacomosaccaggi/projectcompass:latest
ports:
- "8080:8080"
environment:
- SECRET_KEY=change-me-to-a-random-string
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD_HASH=
- PORT=8080
- OLLAMA_HOST=http://ollama:11434
- ALLOWED_ORIGINS=*
volumes:
- ./data/Analyses:/app/Analyses
- ./data/Saved_data:/app/Saved_data
- ./data/Saved_queries:/app/Saved_queries
restart: unless-stopped
depends_on:
- ollama
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 5s
retries: 3
ollama:
image: ollama/ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
restart: unless-stopped
# Pull default model on first start
ollama-pull:
image: ollama/ollama
depends_on:
- ollama
entrypoint: ["/bin/sh", "-c", "sleep 5 && ollama pull qwen3:0.6b"]
environment:
- OLLAMA_HOST=http://ollama:11434
restart: "no"
volumes:
ollama_data: