Files
delphi-database-v2/docker-compose.yml
HotSwapp b2d751f555 feat: Complete case edit functionality and Docker setup
- Fix case edit form data handling (POST requests now work correctly)
- Add comprehensive Docker setup with Dockerfile and docker-compose.yml
- Fix CSV import validation for client and case data
- Improve import error handling and column mapping
- Add .dockerignore for efficient Docker builds
- Complete end-to-end testing of full application workflow

All core functionality from del.plan.md now implemented and tested:
 Case view, edit, close, and reopen operations
 Data import from CSV files with validation
 Authentication and session management
 Dashboard with search and pagination
 Production-ready Docker containerization
2025-10-06 20:32:51 -05:00

24 lines
669 B
YAML

version: '3.8'
services:
delphi-db:
build: .
ports:
- "8000:8000"
environment:
- SECRET_KEY=your-secret-key-here-change-this-in-production
- DATABASE_URL=sqlite:///./delphi.db
volumes:
# Mount the database file so it persists between container restarts
- ./delphi.db:/app/delphi.db
# Mount data-import directory for file uploads
- ./data-import:/app/data-import
# Mount static files
- ./static:/app/static
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s