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 image: in.gohorsejobs.com/gohorsejobs/gohorsejobs-backend:latest
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 3000 - containerPort: 8521
env: env:
- name: NODE_ENV - name: NODE_ENV
value: "production" value: "production"
- name: PORT
value: "8521"
envFrom: envFrom:
- secretRef: - secretRef:
name: backend-secrets name: backend-secrets
imagePullSecrets: imagePullSecrets:
- name: harbor-registry - name: harbor-registry

View file

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