feat(piloto): backend Spring Boot na porta 8083 (img 1.1)
This commit is contained in:
@@ -14,14 +14,14 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: backend
|
||||
image: docker.io/library/athletic-map-backend:1.0
|
||||
image: docker.io/library/athletic-map-backend:1.1
|
||||
imagePullPolicy: Never
|
||||
env:
|
||||
- { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" }
|
||||
- { name: ATM_ISSUER, value: "https://auth.187.77.37.184.nip.io/realms/athleticmap" }
|
||||
ports: [{ containerPort: 8080 }]
|
||||
ports: [{ containerPort: 8083 }]
|
||||
readinessProbe:
|
||||
httpGet: { path: /api/public/health, port: 8080 }
|
||||
httpGet: { path: /api/public/health, port: 8083 }
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 10
|
||||
failureThreshold: 24
|
||||
@@ -31,7 +31,7 @@ kind: Service
|
||||
metadata: { name: backend, namespace: piloto-prod }
|
||||
spec:
|
||||
selector: { app: backend }
|
||||
ports: [{ port: 80, targetPort: 8080 }]
|
||||
ports: [{ port: 80, targetPort: 8083 }]
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
||||
Reference in New Issue
Block a user