- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
# =============================================================================
|
|
# GAMILIT Backend - Kubernetes Service
|
|
# =============================================================================
|
|
# Purpose: Exposes backend pods internally within the cluster
|
|
# Type: ClusterIP (internal only, accessed via Ingress)
|
|
# Port: 3006
|
|
# =============================================================================
|
|
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: gamilit-backend
|
|
namespace: gamilit-production
|
|
labels:
|
|
app: gamilit
|
|
component: backend
|
|
tier: api
|
|
annotations:
|
|
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
|
|
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "60"
|
|
spec:
|
|
type: ClusterIP
|
|
sessionAffinity: None
|
|
|
|
selector:
|
|
app: gamilit
|
|
component: backend
|
|
tier: api
|
|
|
|
ports:
|
|
- name: http
|
|
protocol: TCP
|
|
port: 3006 # Service port
|
|
targetPort: http # Container port name
|
|
|
|
- name: metrics
|
|
protocol: TCP
|
|
port: 9090
|
|
targetPort: 9090
|
|
|
|
# Enable session affinity if needed (for sticky sessions)
|
|
# sessionAffinity: ClientIP
|
|
# sessionAffinityConfig:
|
|
# clientIP:
|
|
# timeoutSeconds: 10800
|