Skip to content

Commit 59ff6b8

Browse files
fix: update network configuration and add UDP port mapping
Co-Authored-By: Rushil Srivastava <[email protected]>
1 parent 744cd23 commit 59ff6b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile.emulator
7-
command: /emulator -host 0.0.0.0 -port 8123 -grpc_port 8123 -grpc_host 0.0.0.0 -grpc_insecure -grpc_bind_all -bind_all
7+
command: sh -c "/emulator -host 0.0.0.0 -port 8123 -grpc_port 8123 -grpc_host 0.0.0.0 -grpc_insecure -grpc_bind_all -bind_all"
88
ports:
99
- "8123:8123"
10+
- "8123:8123/udp"
11+
network_mode: "bridge"
1012

1113
healthcheck:
1214
test: ["CMD", "wget", "-q", "--spider", "http://0.0.0.0:8123/v1/projects/test-project/locations/us-central1/queues"]

0 commit comments

Comments
 (0)