|
|
@@ -125,6 +125,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
|
|
|
```
|
|
|
|
|
|
@@ -137,6 +138,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" \
|
|
|
kong kong migrations bootstrap
|
|
|
```
|
|
|
@@ -154,6 +157,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" \
|