forked from 0xWheatyz/SPARC
feat: update Docker config to run API and dashboard services
- Switch from Alpine to Debian slim for better package compatibility - Add system dependencies for pdfplumber and psycopg2 - Configure separate services for API (port 8000) and dashboard (port 8501) - Add automatic database initialization via init-db service - Update documentation with simplified Docker setup - Remove need for separate docker-compose.prod.yml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -34,7 +34,25 @@ SPARC/
|
||||
|
||||
## Installation
|
||||
|
||||
### NixOS (Recommended)
|
||||
### Docker (Recommended)
|
||||
|
||||
```bash
|
||||
# Clone and configure
|
||||
git clone <repository-url>
|
||||
cd SPARC
|
||||
cp .env.example .env
|
||||
# Edit .env with your API keys
|
||||
|
||||
# Start all services (API, Dashboard, PostgreSQL)
|
||||
docker-compose up -d
|
||||
|
||||
# Access the services
|
||||
# - API: http://localhost:8000
|
||||
# - Dashboard: http://localhost:8501
|
||||
# - API Docs: http://localhost:8000/docs
|
||||
```
|
||||
|
||||
### NixOS
|
||||
|
||||
```bash
|
||||
nix develop
|
||||
@@ -262,4 +280,4 @@ For open source projects, say how it is licensed.
|
||||
|
||||
Core functionality complete. Ready for production use with API keys configured.
|
||||
|
||||
Next steps: API wrapper, containerization, and multi-company support.
|
||||
All major features implemented: REST API, Streamlit dashboard, Docker containerization, database storage, and multi-company batch processing.
|
||||
|
||||
Reference in New Issue
Block a user