kong: specify the KONG_PG_HOST environment variable

This commit is contained in:
Colin Hutchinson 2019-03-21 16:32:40 +00:00
parent d27200f813
commit 7f93c0d979
No known key found for this signature in database
GPG Key ID: 654DAA80DD142338
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ Once the database has been started and prepared, we can start a Kong container a
$ docker run -d --name kong \ $ docker run -d --name kong \
--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_CASSANDRA_CONTACT_POINTS=kong-database" \ -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \ -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
-e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \ -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \