Docker compose and kong.conf

Hello,
I’m using docker compose file for setting up kong and postgres services.
Since by default kong.conf.default is packed in the kong container, should I make a copy of kong.conf file like we do in normal installation without docker?
I also want to know that after setting up the environment variables for both of them, do I need to update the database variables in kong.conf file too?

Best regards,
Ritika

Hi Ritika,

The environment variables are used to override the kong.conf. Configuration Reference for Kong Gateway - v2.6.x | Kong Docs

Hi,
Thanks for your reply @joedas. So when we want to enable a third party plugin for example, we generally uncomment the plugin part in kong.conf file and add the name of the plugin there, how to handle this in case of docker compose file?

Best regards,
Ritika