ajuste na porta

This commit is contained in:
Marcus Bohessef 2025-12-12 15:08:53 -03:00
parent 94a4c99d6b
commit fae2fb00bd
2 changed files with 6 additions and 4 deletions

View file

@ -18,12 +18,14 @@ spec:
image: in.gohorsejobs.com/gohorsejobs/gohorsejobs-backend:latest
imagePullPolicy: Always
ports:
- containerPort: 3000
- containerPort: 8521
env:
- name: NODE_ENV
value: "production"
- name: PORT
value: "8521"
envFrom:
- secretRef:
name: backend-secrets
imagePullSecrets:
- name: harbor-registry
- name: harbor-registry

View file

@ -8,6 +8,6 @@ spec:
app: gohorse-backend
ports:
- name: http
port: 3000
targetPort: 3000
port: 8521
targetPort: 8521
type: ClusterIP