Skip to content

Commit

Permalink
Change server port from 8080 to 11002
Browse files Browse the repository at this point in the history
  • Loading branch information
Daven00 committed Sep 27, 2023
1 parent 848338c commit 43bef14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- change-port

jobs:

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ FROM openjdk:22-oraclelinux8
COPY --from=build /usr/src/app/target/*.jar /usr/app/app.jar
RUN useradd -m myuser
USER myuser
EXPOSE 8080
EXPOSE 11002
CMD java -jar /usr/app/app.jar
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
server.port=${PORT:8080}
server.port=${PORT:11002}
logging.level.org.atmosphere = warn
spring.mustache.check-template-location = false

Expand Down

0 comments on commit 43bef14

Please sign in to comment.