소스 검색

Update Kong documentation

thefosk 9 년 전
부모
커밋
9713b93045
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 1
      kong/README.md
  2. 3 1
      kong/content.md

+ 3 - 1
kong/README.md

@@ -52,8 +52,10 @@ Once the database is running, we can start a Kong container and link it to the d
 
 ```shell
 $ docker run -d --name kong \
-    -e "KONG_DATABASE=cassandra" \
     --link kong-database:kong-database \
+    -e "KONG_DATABASE=cassandra" \
+    -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
+    -e "KONG_PG_HOST=kong-database" \
     -p 8000:8000 \
     -p 8443:8443 \
     -p 8001:8001 \

+ 3 - 1
kong/content.md

@@ -44,8 +44,10 @@ Once the database is running, we can start a Kong container and link it to the d
 
 ```shell
 $ docker run -d --name kong \
-    -e "KONG_DATABASE=cassandra" \
     --link kong-database:kong-database \
+    -e "KONG_DATABASE=cassandra" \
+    -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
+    -e "KONG_PG_HOST=kong-database" \
     -p 8000:8000 \
     -p 8443:8443 \
     -p 8001:8001 \