Interactive mode is not required to run kong database migrations
Signed-off-by: Jono <jono@foodnotblogs.com>
This commit is contained in:
parent
74518562ee
commit
ecd73222e2
|
|
@ -91,7 +91,7 @@ docker run -d --name kong-database \
|
||||||
Run the database migrations with an ephemeral Kong container:
|
Run the database migrations with an ephemeral Kong container:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --rm \
|
docker run -it --rm \
|
||||||
--link kong-database:kong-database \
|
--link kong-database:kong-database \
|
||||||
-e "KONG_DATABASE=postgres" \
|
-e "KONG_DATABASE=postgres" \
|
||||||
-e "KONG_PG_HOST=kong-database" \
|
-e "KONG_PG_HOST=kong-database" \
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ docker run -d --name kong-database \
|
||||||
Run the database migrations with an ephemeral Kong container:
|
Run the database migrations with an ephemeral Kong container:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -it --rm \
|
docker run --rm \
|
||||||
--link kong-database:kong-database \
|
--link kong-database:kong-database \
|
||||||
-e "KONG_DATABASE=postgres" \
|
-e "KONG_DATABASE=postgres" \
|
||||||
-e "KONG_PG_HOST=kong-database" \
|
-e "KONG_PG_HOST=kong-database" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue