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
|
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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue