From 74518562ee53a46bce11a1fd371a4934bc877543 Mon Sep 17 00:00:00 2001 From: Jono Date: Fri, 15 Sep 2017 16:35:21 -0700 Subject: [PATCH 1/2] Update README.md Remove -it from migration run since it was tripping up a script I was writing. This is not needed because it is not being used interactively here. --- kong/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/README.md b/kong/README.md index 331e4241f..844cad9a4 100644 --- a/kong/README.md +++ b/kong/README.md @@ -91,7 +91,7 @@ docker run -d --name kong-database \ Run the database migrations with an ephemeral Kong container: ```shell -docker run -it --rm \ +docker run --rm \ --link kong-database:kong-database \ -e "KONG_DATABASE=postgres" \ -e "KONG_PG_HOST=kong-database" \ From ecd73222e2986cc0d948e3725c4ac20c051a0312 Mon Sep 17 00:00:00 2001 From: Jono Date: Sun, 17 Sep 2017 21:41:26 -0700 Subject: [PATCH 2/2] Interactive mode is not required to run kong database migrations Signed-off-by: Jono --- kong/README.md | 2 +- kong/content.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kong/README.md b/kong/README.md index 844cad9a4..331e4241f 100644 --- a/kong/README.md +++ b/kong/README.md @@ -91,7 +91,7 @@ docker run -d --name kong-database \ Run the database migrations with an ephemeral Kong container: ```shell -docker run --rm \ +docker run -it --rm \ --link kong-database:kong-database \ -e "KONG_DATABASE=postgres" \ -e "KONG_PG_HOST=kong-database" \ diff --git a/kong/content.md b/kong/content.md index 31660be9c..b50d35ac3 100644 --- a/kong/content.md +++ b/kong/content.md @@ -43,7 +43,7 @@ docker run -d --name kong-database \ Run the database migrations with an ephemeral Kong container: ```shell -docker run -it --rm \ +docker run --rm \ --link kong-database:kong-database \ -e "KONG_DATABASE=postgres" \ -e "KONG_PG_HOST=kong-database" \