How can I config for kong in Docker?

I see the demo in docs

image

But I want to know how to configure more.
Or may be just add ‘kong_’ prefix ?
If you know, please tell me or give a docs link.

According to https://docs.konghq.com/1.0.x/configuration/#environment-variables

Yes, you can configure Kong more by adding an environment variable with a KONG_ prefix.

For example, I use the following environment variables:

  • KONG_PG_USER
  • KONG_PG_PASSWORD
  • KONG_TRUSTED_IPS

Thank you, not sure how I missed that.

1 Like