File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
src/main/groovy/com/makingdevs Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 11FROM openjdk:8-jdk-alpine
2- ENV PORT 8000
3- EXPOSE 8000
2+ ENV PORT 8080
3+ EXPOSE 8080
44COPY build/libs/*.jar /opt/app.jar
55COPY .config/conf.json /opt/
66WORKDIR /opt
Original file line number Diff line number Diff 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"
1616resources :
@@ -22,19 +22,11 @@ resources:
2222 memory : 512Mi
2323probePath : /actuator/health
2424livenessProbe :
25- httpGet :
26- path : /healthz
27- port : 8000
28- scheme : HTTP
2925 initialDelaySeconds : 60
3026 periodSeconds : 10
3127 successThreshold : 1
3228 timeoutSeconds : 1
3329readinessProbe :
34- httpGet :
35- path : /healthz
36- port : 8000
37- scheme : HTTP
3830 periodSeconds : 10
3931 successThreshold : 1
4032 timeoutSeconds : 1
Original file line number Diff line number Diff 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
212212vertx. deployVerticle(" com/makingdevs/EmailerVerticle.groovy" , options)
You can’t perform that action at this time.
0 commit comments