Dashboard-Automatizase/k8s/service.yaml
Luis 2015b130d0 feat: add Dockerfile and Kubernetes manifests for deployment
- Create multi-stage Dockerfile with node:20-alpine
- Add .dockerignore for optimized build context
- Create Kubernetes manifests (deployment, service, ingress, secret)
- Add health check endpoint at /api/health
- Configure next.config.ts with standalone output
- Add comprehensive deployment documentation in README-DEPLOY.md

Story: 4.1 - Criar Dockerfile e Manifests Kubernetes para Deploy

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 19:57:26 -03:00

18 lines
409 B
YAML

apiVersion: v1
kind: Service
metadata:
name: portal-service
namespace: automatizase
labels:
app: portal
spec:
type: ClusterIP # Interno ao cluster
selector:
app: portal # Seleciona pods com label app=portal
ports:
- name: http
protocol: TCP
port: 80 # Porta exposta pelo Service
targetPort: 3100 # Porta do container (porta customizada)
sessionAffinity: None