From 2462bd216c41c1c2eea3c6ee9d49d91314f10147 Mon Sep 17 00:00:00 2001 From: Melinda Fekete Date: Mon, 25 Nov 2024 18:18:39 +0100 Subject: [PATCH] docs: add example docker command (#590) --- README.md | 8 +++++++- server/README.md | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5adc230a..d4f1d56e 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,13 @@ Our recommended approach is to bootstrap Edge with a client API token and upstre To run Edge in Docker: ```shell -docker run -it -p 3063:3063 -e STRICT=true -e UPSTREAM_URL= -e TOKENS= unleashorg/unleash-edge: edge +docker run -it -p 3063:3063 -e STRICT=true -e UPSTREAM_URL= -e TOKENS= unleashorg/unleash-edge: edge +``` + +For example: + +```shell +docker run -it -p 3063:3063 -e STRICT=true -e UPSTREAM_URL=https://app.unleash-hosted.com/testclient -e TOKENS='*:development.4a798ad11cde8c0e637ff19f3287683ebc21d23d607c641f2dd79daa54' unleashorg/unleash-edge:v19.6.2 edge ``` ## Edge behaviors diff --git a/server/README.md b/server/README.md index 5adc230a..d4f1d56e 100644 --- a/server/README.md +++ b/server/README.md @@ -55,7 +55,13 @@ Our recommended approach is to bootstrap Edge with a client API token and upstre To run Edge in Docker: ```shell -docker run -it -p 3063:3063 -e STRICT=true -e UPSTREAM_URL= -e TOKENS= unleashorg/unleash-edge: edge +docker run -it -p 3063:3063 -e STRICT=true -e UPSTREAM_URL= -e TOKENS= unleashorg/unleash-edge: edge +``` + +For example: + +```shell +docker run -it -p 3063:3063 -e STRICT=true -e UPSTREAM_URL=https://app.unleash-hosted.com/testclient -e TOKENS='*:development.4a798ad11cde8c0e637ff19f3287683ebc21d23d607c641f2dd79daa54' unleashorg/unleash-edge:v19.6.2 edge ``` ## Edge behaviors