Merge pull request #1810 from 123aswin123/kong-postgres-example-code-fix
Added POSTGRES_PASSWORD to fix example code
This commit is contained in:
commit
fffd5071f6
|
|
@ -67,6 +67,7 @@ $ docker run -d --name kong-database \
|
|||
-p 5432:5432 \
|
||||
-e "POSTGRES_USER=kong" \
|
||||
-e "POSTGRES_DB=kong" \
|
||||
-e "POSTGRES_PASSWORD=kong" \
|
||||
postgres:9.6
|
||||
```
|
||||
|
||||
|
|
@ -79,6 +80,8 @@ $ docker run --rm \
|
|||
--link kong-database:kong-database \
|
||||
-e "KONG_DATABASE=postgres" \
|
||||
-e "KONG_PG_HOST=kong-database" \
|
||||
-e "KONG_PG_USER=kong" \
|
||||
-e "KONG_PG_PASSWORD=kong" \
|
||||
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
|
||||
%%IMAGE%% kong migrations bootstrap
|
||||
```
|
||||
|
|
@ -96,6 +99,7 @@ $ docker run -d --name kong \
|
|||
--link kong-database:kong-database \
|
||||
-e "KONG_DATABASE=postgres" \
|
||||
-e "KONG_PG_HOST=kong-database" \
|
||||
-e "KONG_PG_PASSWORD=kong" \
|
||||
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
|
||||
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
|
||||
-e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue