3 Commits

Author SHA1 Message Date
c457db534b Restructure project and update Helm chart for microservices
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Directory Changes:
- Moved old unused files to 'old/' directory:
  - server.js, package.json, package-lock.json, node_modules
  - data/, public/, run_ora_map.sh, README copy.md
- Clean root structure with only backend/ and frontend/ dirs
- Updated .gitignore to ignore old directories

Helm Chart Updates (oramap/):
- Updated Chart.yaml to v0.2.0 with proper description
- Split values.yaml for separate backend and frontend configurations
- Created separate deployments for backend and frontend
- Created separate services for backend (port 3000) and frontend (port 80)
- Added ConfigMap for nginx configuration in Kubernetes
- Added volume mounts for nginx config in frontend deployment
- Updated ingress to route to frontend service
- Added proper health checks for both services
- Added resource limits and requests

Frontend Updates:
- Enhanced nginx.conf with dynamic backend routing
- Supports both Docker Compose and Kubernetes service discovery

This enables proper microservices deployment in Kubernetes with:
- Separate scaling for frontend and backend
- Independent deployments and rollbacks
- Proper service discovery and load balancing
2026-03-24 10:25:23 +02:00
fccd8a0166 Fix CI/CD: Add backend/package.json to repository
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Removed package.json from .gitignore (keep package-lock.json ignored)
- Added backend/package.json to git so CI/CD pipeline can build
- This fixes the 'ENOENT: no such file or directory' error in Kaniko build
2026-03-24 09:44:16 +02:00
c410843f5f Add oramap 2025-05-27 23:29:02 +03:00