John Clemson IV
John Clemson IV

Reputation: 63

Kong in Docker : Configuring API endpoints without curl

Is there a way to add API endpoints in Kong without using curl? I have Kong up and running in a docker container using docker-compose and I would like to be able to pass in a configuration file (or what-have-you) on container spin up that outlines the endpoints I would like setup. Is this possible? This is the closest I have found to a solution : http://blog.toast38coza.me/kong-up-and-running-part-2-defining-our-api-gateway-with-ansible/

Upvotes: 5

Views: 1180

Answers (2)

Anis D
Anis D

Reputation: 761

You can use Kongfig as Mark said or throught the GUI Konga

Upvotes: 0

Mark Jones
Mark Jones

Reputation: 12194

One option could be to use the YAML driven Kongfig tool to manage the config of the machine. You could run it external to the container e.g. via a CI process (Jenkins etc.) or in theory add a bootstrap action with Konfig running locally within the container.

Upvotes: 1

Related Questions