Skip to content

Add Docker configuration for reproducible development - #1

Open
jesseboudreau80 wants to merge 5 commits into
mainfrom
feature/docker-setup
Open

Add Docker configuration for reproducible development#1
jesseboudreau80 wants to merge 5 commits into
mainfrom
feature/docker-setup

Conversation

@jesseboudreau80

Copy link
Copy Markdown
Owner

Summary

Adds Docker configuration for reproducible development environment.

Changes

  • Backend Dockerfile (backend/Dockerfile)

    • Python 3.11-slim base image
    • Installs wkhtmltopdf for pdfkit PDF generation
    • Exposes port 8000
  • Frontend Dockerfile (frontend/Dockerfile)

    • Node 20-alpine base image
    • Runs Next.js dev server
    • Exposes port 3000
  • docker-compose.yml

    • Orchestrates both services
    • Mounts local volumes for hot-reload during development
    • Named volumes for uploads and PDF reports
  • .dockerignore files

    • Clean builds without unnecessary files

Usage

# Build and start all services
docker-compose up --build

# Run in background
docker-compose up -d --build

# Stop services
docker-compose down

Ports


This PR was generated with Warp.

jesseboudreau80 and others added 5 commits February 12, 2026 16:25
- Add backend Dockerfile (Python 3.11-slim with wkhtmltopdf for pdfkit)
- Add frontend Dockerfile (Node 20-alpine)
- Add docker-compose.yml to orchestrate both services
- Add .dockerignore files for clean builds
- Fix numpy/pandas versions in requirements.txt

Backend exposed on port 8000, frontend on port 3000.

Co-Authored-By: Warp <agent@warp.dev>
- Add database.py with SQLite configuration
- Add models.py with Incident model (id, employee_name, incident_date, description, severity, created_at)
- Add schemas.py with Pydantic schemas and severity validation (Low/Medium/High)
- Add CRUD endpoints: POST/GET/PUT/DELETE /incidents/
- Add SQLAlchemy to requirements.txt
- Add *.db to .gitignore

Co-Authored-By: Warp <agent@warp.dev>
Untrack committed venv/node_modules, standardize .gitignore, checkpoint WIP.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant