ajuste na porta
This commit is contained in:
parent
94a4c99d6b
commit
fae2fb00bd
2 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@ spec:
|
|||
app: gohorse-backend
|
||||
ports:
|
||||
- name: http
|
||||
port: 3000
|
||||
targetPort: 3000
|
||||
port: 8521
|
||||
targetPort: 8521
|
||||
type: ClusterIP
|
||||
|
|
|
|||
Loading…
Reference in a new issue