Builds a Docker image from base Kong + nokia/kong-oidc (based on zmartzone/lua-resty-openidc)
100K+
Builds a Docker image from base Kong + revomatico/kong-oidc plugin (based on zmartzone/lua-resty-openidc)
Note on overriding numeric values like ports via env vars: due to a limitation in the lua templating engine in openresty, they must be quoted twice: KONG_X_VAR="'1234'".
KONG_NGINX_LARGE_CLIENT_HEADER_BUFFERS='4 16k'KONG_X_SESSION_COMPRESSOR=zlibInstead of actual memcached, Hazelcast (that is Kubernetes aware), with memcache protocol enabled should be used. See https://docs.hazelcast.org/docs/latest-dev/manual/html-single/#memcache-client.
KONG_X_SESSION_STORAGE=memcacheKONG_X_SESSION_MEMCACHE_HOST=mynewhostKONG_X_SESSION_MEMCACHE_PORT="'12345'"This lua-resty-session implementation depends on grrolland/ngx-distributed-shm dshm.lua library. Recommended: Hazelcast with memcache protocol enabled (see above).
KONG_X_SESSION_STORAGE=dshmGood for single instance. No additional software is required.
KONG_X_SESSION_STORAGE=shmnginx_kong.lua template at build time, to include set_decode_base64 $session_secret 'some_base64_string';
KONG_PLUGINS=bundled,oidcKONG_X_SESSION_NAME=oidc_sessionKONG_X_SESSION_COMPRESSORlua_shared_dict caching for discovery, jwks and introspection. Default cache size is 128k (small).disable_userinfo_header paramdisable_userinfo_header is now honored also for introspectionx_proxy_cache_storage_name in favor of built-in nginx_http_lua_shared_dict. See: https://github.com/Kong/kong/issues/4643kong-plugin-session to 2.4.4session_name to override the default 'session' with 'oidc_session' as it may be overriden by upstream applications./usr/local/kong in DockerfileUSER directive is incompatible with su-exec. See https://github.com/ncopa/su-exec/issues/2#issuecomment-336670196Content type
Image
Digest
sha256:ef61e6d30…
Size
146.7 MB
Last updated
over 3 years ago
docker pull revomatico/docker-kong-oidc