Skip to content

Commit e959cd9

Browse files
committed
🐛 fix: update event type in deployment script and change exposed port in Dockerfile
1 parent 12eed25 commit e959cd9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
-H "Accept: application/vnd.github.v3+json" \
115115
-H "Authorization: token ${{ secrets.DEPLOYMENT_TRIGGER_TOKEN }}" \
116116
https://api.github.com/repos/${{ secrets.DEPLOYMENT_REPO }}/dispatches \
117-
-d '{"event_type":"account-ms-updated"}'
117+
-d '{"event_type":"transaction-ms-updated"}'
118118
continue-on-error: true
119119

120120
# Step 9: Show summary

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ RUN addgroup -g 1001 -S appgroup && \
3838

3939
USER appuser
4040

41-
EXPOSE 8083
41+
EXPOSE 8080
4242

4343
HEALTHCHECK --interval=30s --timeout=3s --start-period=60s --retries=3 \
44-
CMD wget --quiet --tries=1 --spider http://localhost:8083/actuator/health || exit 1
44+
CMD wget --quiet --tries=1 --spider http://localhost:8080/actuator/health || exit 1
4545

4646
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar app.jar"]

0 commit comments

Comments
 (0)