From 02c5b5582272a4cca2286b3b3422ef1605d1dd39 Mon Sep 17 00:00:00 2001 From: Till Rohrmann Date: Tue, 28 Nov 2023 22:12:11 +0100 Subject: [PATCH] Replace ghcr.io/restatedev/restate-dist with docker.io/restatedev/restate --- README.md | 8 ++++---- template/src/app.ts | 4 ++-- template_grpc/src/app.ts | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2251cd1..1d97f15 100644 --- a/README.md +++ b/README.md @@ -100,18 +100,18 @@ Your Restate service is now up and running! You can also run in incremental-reco ### Launch the Restate runtime -Have a look at how to start up the runtime in a Docker container in this repository: https://github.com/restatedev/restate-dist or simply run the following commands: +Have a look at how to start up the runtime in [this repository](https://github.com/restatedev/restate) or run the following commands: - For MacOS: ```shell -docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 ghcr.io/restatedev/restate-dist:latest +docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 docker.io/restatedev/restate:latest ``` - For Linux: ```shell -docker run --name restate_dev --rm --network=host ghcr.io/restatedev/restate-dist:latest +docker run --name restate_dev --rm --network=host docker.io/restatedev/restate:latest ``` ### Connect Services and Runtime @@ -153,7 +153,7 @@ That's it! We managed to run a Restate service and invoke it! - Restate Typescript SDK: https://github.com/restatedev/sdk-typescript - The Restate documentation: https://docs.restate.dev/ -- Restate Docker container: https://github.com/restatedev/restate-dist +- Restate Docker container: https://hub.docker.com/r/restatedev/restate # Contributing to this template diff --git a/template/src/app.ts b/template/src/app.ts index 0054169..5e0119a 100644 --- a/template/src/app.ts +++ b/template/src/app.ts @@ -36,9 +36,9 @@ restate // To launch Restate and register this service (if you don't have Restate running already) // // - On macOS: -// docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 ghcr.io/restatedev/restate-dist:latest +// docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 docker.io/restatedev/restate:latest // curl -X POST http://localhost:9070/endpoints -H 'content-type: application/json' -d '{"uri": "http://host.docker.internal:9080"}' // // - On Linux: -// docker run --name restate_dev --rm --network=host ghcr.io/restatedev/restate-dist:latest +// docker run --name restate_dev --rm --network=host docker.io/restatedev/restate:latest // curl -X POST http://localhost:9070/endpoints -H 'content-type: application/json' -d '{"uri": "http://localhost:9080"}' diff --git a/template_grpc/src/app.ts b/template_grpc/src/app.ts index 15ebea2..1652509 100644 --- a/template_grpc/src/app.ts +++ b/template_grpc/src/app.ts @@ -49,9 +49,9 @@ restate // To launch Restate and register this service (if you don't have Restate running already) // // - On macOS: -// docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 ghcr.io/restatedev/restate-dist:latest +// docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 docker.io/restatedev/restate:latest // curl -X POST http://localhost:9070/endpoints -H 'content-type: application/json' -d '{"uri": "http://host.docker.internal:9080"}' // // - On Linux: -// docker run --name restate_dev --rm --network=host ghcr.io/restatedev/restate-dist:latest +// docker run --name restate_dev --rm --network=host docker.io/restatedev/restate:latest // curl -X POST http://localhost:9070/endpoints -H 'content-type: application/json' -d '{"uri": "http://localhost:9080"}'