Docker compose - load configuration


#1

Hi to All,
first of all I want to thank to the community and Kong Nation!

I am trying Kong in these days, and I would like to start Kong with docker compose.

My question is: how could I load services, consumers and routes configurations after kong startup ? The only way is to use a database dump or a script with REST Api ?

Thanks to all.

Best
Luca


#2

The Admin API that is exposed on port 8001 by default is a good way to give Kong a go:

And when you want something more visual I recommend Konga as a tool to see your Kong gateway and configure options without doing programmatic calls all the time:


#3

Thanks Jeremy,
I used Konga in these last days.

I think the only way is to develop a Java project with API calls and settings called after Kong docker execution.

Bye
Luca


#4