Closed r4ym0n closed 3 years ago
in compose file , the web port is set by expose , which only expose port in the docker network.
expose: - "8080/tcp"
change it into
ports: - "8080:8080"
batter
dpends if you use a revers proxy or not, how you want to expose the service to outside world. Using ports and exposing 8080 without ssl is not a best practice
ports
in compose file , the web port is set by expose , which only expose port in the docker network.
change it into
batter