fix port
This commit is contained in:
@ -17,6 +17,6 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY --from=build /app/main .
|
COPY --from=build /app/main .
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 1308
|
||||||
|
|
||||||
CMD ["./main"]
|
CMD ["./main"]
|
||||||
|
|||||||
@ -56,5 +56,5 @@ func main() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
|
r.Run("0.0.0.0:1308") // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,7 @@ services:
|
|||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "1308:8080"
|
- "1308:1308"
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user