Skip to content

Commit ff8f1f4

Browse files
committed
Use default bridge mode for Docker network.
Bind exposed container port 7001 dynamically to a high port using Docker's default bridge network.
1 parent e0e84c2 commit ff8f1f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

osgi/docker-compose.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ services:
22
spviz:
33
build:
44
context: .
5-
network_mode: host
6-
container_name: SPViz-OSGiViz
5+
ports:
6+
- 7001
7+
container_name: SPViz-OSGiViz

0 commit comments

Comments
 (0)