Add CLI, Docker setup, and quick start guide

- CLI tool for testing (cli.py)
- Docker Compose for easy deployment
- Dockerfile for backend
- QUICKSTART.md with setup instructions

Ready to deploy! Run: python cli.py or docker-compose up
This commit is contained in:
JA
2026-02-12 21:17:39 +00:00
parent d9a7c016b1
commit c9893335db
4 changed files with 339 additions and 0 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
version: '3.8'
services:
grimlock-backend:
build:
context: ./backend
dockerfile: ../docker/Dockerfile.backend
container_name: grimlock-backend
ports:
- "8000:8000"
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- HOST=0.0.0.0
- PORT=8000
- DEBUG=true
- CONTEXT_PATH=/app/context
- AI_MODEL=claude-sonnet-4-5-20250514
- LOG_LEVEL=INFO
volumes:
- ./backend/context:/app/context:ro
- ./backend:/app:ro
restart: unless-stopped
command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
networks:
default:
name: grimlock-network