Skip to content

Commit d093522

Browse files
committed
Actualizando
1 parent 4199e5c commit d093522

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM openjdk:8-jdk-alpine
2-
ENV PORT 8000
3-
EXPOSE 8000
2+
ENV PORT 8080
3+
EXPOSE 8080
44
COPY build/libs/*.jar /opt/app.jar
55
COPY .config/conf.json /opt/
66
WORKDIR /opt

charts/emailer-app/values.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ service:
1010
name: emailer-app
1111
type: ClusterIP
1212
externalPort: 80
13-
internalPort: 8000
13+
internalPort: 8080
1414
annotations:
1515
fabric8.io/expose: "true"
1616
resources:
@@ -22,19 +22,11 @@ resources:
2222
memory: 512Mi
2323
probePath: /actuator/health
2424
livenessProbe:
25-
httpGet:
26-
path: /healthz
27-
port: 8000
28-
scheme: HTTP
2925
initialDelaySeconds: 60
3026
periodSeconds: 10
3127
successThreshold: 1
3228
timeoutSeconds: 1
3329
readinessProbe:
34-
httpGet:
35-
path: /healthz
36-
port: 8000
37-
scheme: HTTP
3830
periodSeconds: 10
3931
successThreshold: 1
4032
timeoutSeconds: 1

src/main/groovy/com/makingdevs/Webserver.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ router.post("/serviceEmail").handler { routingContext ->
206206
}
207207
}
208208

209-
server.requestHandler(router.&accept).listen(8000)
209+
server.requestHandler(router.&accept).listen(8080)
210210

211211
//deploy verticles
212212
vertx.deployVerticle("com/makingdevs/EmailerVerticle.groovy", options)

0 commit comments

Comments
 (0)