Installation and activation of a custom plugin (upstream-auth-basic) on a Docker container

Dear community,

for the basic authentication to an upstream service I checked the possible plugins and found the upstream-auth-basic plugin.

I’m using the standard procedure to setup a Kong container with docker-compose.

What is the recommended way to add this (and any other) plugin at the Docker container creation and startup?

I added the lines

  KONG_PLUGINS: bundled,upstream-auth-basic
  KONG_LUA_PACKAGE_PATH: /etc/?.lua;/etc/kong/plugins/custom-checker/?.lua;;

to the docker-compose.yml

but I need also to install the plugin itself.

Best
Gerald

P.S. Is there any other way to send basic auth information to the upstream service?


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ