docker-compose: Expose :8080 of server to host, explain
@@ -14,10 +14,11 @@ services:
#command: /isso/bin/isso -c /config/isso.cfg run
environment:
ISSO_SETTINGS: "/config/isso-dev.cfg"
- # If needed, production docker image can also be exposed for non-docker
- # unit/integration testing
- #ports:
- # - 127.0.0.1:8080:8080
+ # If needed, production docker image can also be exposed to host for
+ # non-docker unit/integration testing
+ ports:
+ - 127.0.0.1:8080:8080
+ # Expose port 80080 to other containerized services, not to host machine:
expose:
- 8080
networks:
