Dbless config in docker

Hi ,

I’ve installed kong dbless on windows 10 docker linux container.

My declarative config path is

“StdinOnce”: false,
“Env”: [
“KONG_DECLARATIVE_CONFIG=/usr/local/kong/declarative/kong.yml”,
“KONG_PROXY_ACCESS_LOG=/dev/stdout”,
“KONG_ADMIN_ACCESS_LOG=/dev/stdout”,
“KONG_PROXY_ERROR_LOG=/dev/stderr”,
“KONG_ADMIN_ERROR_LOG=/dev/stderr”,
“KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl”,
“KONG_DATABASE=off”,
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”,
“KONG_VERSION=1.4.0”,
“KONG_SHA256=e31080487cfb8262a839c19d5e8fdb18b7686e9e4cc594803eaa565e0b34ff7a”
],

how could I edit the kong.yml file to add more services , routes or plugins .

  1. Tried using /config to pass the local host file kong.yml , but the API does not accept file
  2. Tried to access the kong.yml from docker exec , does not allow as bash is not supported
  3. I’m running this in a corporate environment, so can not use shared drives for docker

I’m beginner to both docker and kong , any help would be very much appreciated.

Thanks


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ