-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (33 loc) · 1.11 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
services:
justnotes:
build: .
ports:
- "${JUSTNOTES_PORT:-8000}:8000"
environment:
- JUSTNOTES_DATABASE_URL=sqlite:///app/data/justnotes.db
- JUSTNOTES_SECRET_KEY=${JUSTNOTES_SECRET_KEY:-your-secret-key-change-in-production}
- JUSTNOTES_ALGORITHM=HS256
- JUSTNOTES_ACCESS_TOKEN_EXPIRE_MINUTES=30
- JUSTNOTES_APP_NAME=JustNotes
- JUSTNOTES_APP_VERSION=0.0.1
- JUSTNOTES_APP_DESCRIPTION=JustNotes is a simple note-taking app
- JUSTNOTES_ENVIRONMENT=production
- JUSTNOTES_DEBUG=false
- JUSTNOTES_HOST=0.0.0.0
- JUSTNOTES_PORT=8000
- JUSTNOTES_RELOAD=false
- JUSTNOTES_CORS_ORIGINS=${JUSTNOTES_CORS_ORIGINS:-*}
- JUSTNOTES_LLM_SERVICE_URL=${JUSTNOTES_LLM_SERVICE_URL:-http://localhost:1234/api/v1/chat}
- JUSTNOTES_LLM_MODEL=${JUSTNOTES_LLM_MODEL:-google/gemma-3n-e4b}
volumes:
- ./data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
data:
driver: local