Skip to content

Commit

Permalink
Merge pull request #138 from Tibz-Dankan/refactor/dir-structure
Browse files Browse the repository at this point in the history
refactor: change the server port number to 8080
  • Loading branch information
Tibz-Dankan authored Aug 23, 2024
2 parents fd73409 + 6c6e795 commit f1b359f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ COPY . .

RUN go build -o ./bin/myapp ./

EXPOSE 8000
EXPOSE 8080

CMD ["./bin/myapp"]
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
models.DBAutoMigrate()

log.Println("Starting http server up on 8000")
go http.ListenAndServe(":8000", nil)
go http.ListenAndServe(":8080", nil)

go schedulers.InitSchedulers()
go subscribers.InitEventSubscribers()
Expand Down

0 comments on commit f1b359f

Please sign in to comment.