mirror of
https://github.com/gusaul/grpcox.git
synced 2025-01-24 05:04:39 +00:00
Place container in host network
This allows us to connect to gRPC services running on the `localhost` interface on the developer's machine. cf. https://docs.docker.com/compose/compose-file/#network_mode
This commit is contained in:
parent
63bb2a0d2c
commit
ac58c2bb2d
|
@ -1,6 +1,7 @@
|
|||
version: '3'
|
||||
services:
|
||||
grpcox:
|
||||
network_mode: host
|
||||
build: .
|
||||
ports:
|
||||
- "6969:6969"
|
||||
|
|
Loading…
Reference in New Issue
Block a user