Files
notes-qpid-pro/docker-compose.yml
T

35 lines
806 B
YAML

services:
study-web:
build: .
container_name: study-qpid-pro
restart: unless-stopped
ports:
- "127.0.0.1:8002:8002"
volumes:
- ./data:/app/data
- ./app:/app/app
- ./tests:/app/tests
environment:
- HOST=0.0.0.0
- PORT=8002
- DEBUG=False
- SECRET_KEY=study-qpid-pro-secret-key-change-in-prod
- ADMIN_USERNAME=kopri
- DB_PATH=/app/data/notes.db
- OLLAMA_BASE_URL=http://ollama:11434
- OLLAMA_MODEL=qwen2.5:3b
- OLLAMA_KEEP_ALIVE=5m
depends_on:
- ollama
ollama:
image: ollama/ollama:latest
container_name: study-ollama
restart: unless-stopped
ports:
- "127.0.0.1:11434:11434"
volumes:
- ./data/ollama:/root/.ollama
environment:
- OLLAMA_KEEP_ALIVE=5m