Skip to content

nguyensach/api_gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • build kong image
docker build \
   --build-arg PLUGINS="kong-url-rewrite,kong-oidc-extend" \
   --tag "kong" .
  • run kong container
docker run -d --name kong \
     -e "KONG_DATABASE=off" \
     -e "KONG_PLUGINS=oidc, kong-url-rewrite" \
     -e "KONG_DECLARATIVE_CONFIG=/etc/kong/kong.yml" \
     -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
     -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \
     -e "KONG_PROXY_ERROR_LOG=/dev/stderr" \
     -e "KONG_ADMIN_ERROR_LOG=/dev/stderr" \
     -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl" \
     -p 8000:8000 \
     -p 8443:8443 \
     -p 8001:8001 \
     -p 8444:8444 \
     kong:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published