Skip to content

Add Docker Support with Integrated OpenSquat#5

Merged
SiteQ8 merged 1 commit into
SiteQ8:mainfrom
neotamizhan:main
Sep 28, 2025
Merged

Add Docker Support with Integrated OpenSquat#5
SiteQ8 merged 1 commit into
SiteQ8:mainfrom
neotamizhan:main

Conversation

@neotamizhan
Copy link
Copy Markdown

Add Docker Support with Integrated OpenSquat

Hi... I've added comprehensive Docker support to make PhishGuard deployment much easier.

What's Changed

  • One-command deployment: docker-compose up -d and you're done!
  • OpenSquat auto-included: No more manual OpenSquat installation - it's baked into the Docker image
  • Production ready: Proper Gunicorn config, health checks, security hardening
  • Port conflict fix: Uses 8080:5000 mapping to avoid common port 5000 conflicts [This was my setup issue. You can change the port]

Why This Matters

Before: Users had to manually install OpenSquat, manage Python deps, deal with version conflicts, etc. Pretty painful for SOC teams who just want to get monitoring up fast.

After: git clone → docker-compose up -d → done. Takes 2-3 minutes instead of 30-60.

Files Changed

  • Dockerfile - Multi-stage build with OpenSquat integration
  • docker-compose.yml - Complete orchestration setup
  • opensquat_integration.py - Smart path detection for Docker vs manual installs
  • app.py - Fixed Gunicorn compatibility
  • README.md - Added Docker deployment docs

Tested

✅ Builds successfully (~4 min build time)
✅ Container starts healthy and OpenSquat is detected
✅ Web interface works at http://localhost:8080
✅ Real-time monitoring functional
✅ Backward compatible with manual installs

Impact

This transforms PhishGuard from "developer tool requiring setup" to "enterprise-ready security appliance" that deploys instantly. Should significantly boost adoption by removing deployment friction.

The Docker implementation follows best practices (non-root user, health checks, proper signal handling) and is ready for production use.

@SiteQ8 SiteQ8 merged commit dd99a09 into SiteQ8:main Sep 28, 2025
2 checks passed
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.

2 participants