Skip to content

Commit

Permalink
fix: host network_mode does not work as expected on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiciortea authored and cake-lier committed Jun 21, 2024
1 parent d32f807 commit 405a8fd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ services:
container_name: env_production
environment:
VERTX_CONFIG_PATH: "conf/config_production.json"
network_mode: "host"
network_mode: "bridge"
ports:
- "8080:8080"
environment_shared:
image: environment:latest
pull_policy: never
Expand All @@ -16,7 +18,9 @@ services:
container_name: env_shared
environment:
VERTX_CONFIG_PATH: "conf/config_shared.json"
network_mode: "host"
network_mode: "bridge"
ports:
- "8082:8082"
environment_consumption:
image: environment:latest
pull_policy: never
Expand All @@ -25,4 +29,6 @@ services:
container_name: env_consumption
environment:
VERTX_CONFIG_PATH: "conf/config_consumption.json"
network_mode: "host"
network_mode: "bridge"
ports:
- "8081:8081"

0 comments on commit 405a8fd

Please sign in to comment.