From 99945ee5a1672411048f555fe5f369d50fc6bd77 Mon Sep 17 00:00:00 2001 From: Giselle van Dongen Date: Wed, 31 Jan 2024 11:41:52 +0100 Subject: [PATCH] Add note on service deployment URI for docker deployment of Restate --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 84fc78cb..5e23fcdb 100644 --- a/README.md +++ b/README.md @@ -146,10 +146,12 @@ Once Restate is up, register the deployment in Restate by executing: ```shell restate dp register http://host.docker.internal:9080 ``` + When running Restate with Docker, use `host.docker.internal` instead of `localhost` for the service deployment URI. - Via `curl`: ```shell curl localhost:9070/deployments -H 'content-type: application/json' -d '{"uri": "http://host.docker.internal:9080"}' ``` + When running Restate with Docker, use `host.docker.internal` instead of `localhost` for the service deployment URI. This should give you the following output in case of the ticket reservation example: ```json