Skip to content

Commit 2477cd3

Browse files
fix: simplify emulator configuration to use single port
Co-Authored-By: Rushil Srivastava <[email protected]>
1 parent 37fade8 commit 2477cd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ services:
44
build:
55
context: .
66
dockerfile: Dockerfile.emulator
7-
command: /emulator -host 0.0.0.0 -port 8123 -grpc_port 8124
7+
command: /emulator -host 0.0.0.0 -port 8123 -grpc_port 8123
88
ports:
99
- "8123:8123"
10-
- "8124:8124"
10+
1111
healthcheck:
1212
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8123/v1/projects/test-project/locations/us-central1/queues"]
1313
interval: 1s
@@ -23,8 +23,8 @@ services:
2323
working_dir: /app
2424
environment:
2525
- IS_LOCAL=true
26-
- CLOUD_TASKS_EMULATOR_HOST=cloud-tasks-emulator:8124
27-
- CLOUD_TASKS_EMULATOR_URL=cloud-tasks-emulator:8124
26+
- CLOUD_TASKS_EMULATOR_HOST=cloud-tasks-emulator:8123
27+
- CLOUD_TASKS_EMULATOR_URL=cloud-tasks-emulator:8123
2828
- TASK_LISTENER_BASE_URL=http://localhost:8000
2929
- TASK_PROJECT_ID=test-project
3030
- TASK_LOCATION=us-central1

0 commit comments

Comments
 (0)