Commit Graph

6 Commits

Author SHA1 Message Date
furkanyigit34
a9170bda83 fix: add Traefik SSE streaming support for backend
- flushInterval=100ms prevents Traefik from buffering SSE responses
- X-Accel-Buffering=no header disables proxy buffering
- Fixes SSE connection dropping during report generation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 02:07:21 +03:00
furkanyigit34
e3bed0a999 fix: add Traefik port label for backend service
Traefik defaults to port 80 when no loadbalancer port is specified.
Backend listens on 8001, causing the trendyol-api domain to timeout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 01:56:53 +03:00
furkanyigit34
f85fb75830 fix: bundle categories into Docker image for Coolify deployment
Coolify remaps volume mounts to its own managed directories, so
./categories was mapped to an empty dir instead of the repo data.

Changes:
- Backend build context changed to repo root (.) so categories/ is accessible
- Dockerfile copies categories into /data/initial-categories/
- startup.sh seeds /data/categories from bundled data if empty
- Removed categories volume mount (reports still persisted via volume)
- Added root .dockerignore (categories NOT excluded)
- Updated CI workflow to match new build context

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 23:32:34 +03:00
furkanyigit34
99a132879f fix: configure sslip.io domains for Coolify Traefik proxy
- Use nullish coalescing (??) in api.js to support empty VITE_API_URL
- Set VITE_API_URL to backend's sslip.io Traefik domain
- Add sslip.io domains to CORS allowed origins
- Update FRONTEND_URL to sslip.io domain

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 18:09:13 +03:00
furkanyigit34
0079313708 feat: configure Coolify deployment for production
- Fix docker-compose.yml for production: use postgres:15-alpine, remove
  container names, remove postgres external port, set FRONTEND_URL to
  server IP, use empty VITE_API_URL for nginx proxy
- Add production server CORS origins to backend
- Add deploy job to GitHub Actions CI/CD pipeline

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 17:45:01 +03:00
furkanyigit34
c7be57064b Initial commit: Trendyol Analiz platform
- FastAPI backend with Python
- React + Vite admin panel
- PostgreSQL database
- Trendyol marketplace analytics
- GitHub Actions CI/CD workflow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 00:14:38 +03:00