Skip to content

docker-compose setup for kong using cassandra and konga as a UI

License

Notifications You must be signed in to change notification settings

Spazzy757/kong-docker-compose-cassandra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Kong with Cassandra

docker-compose setup for kong using cassandra and konga as a UI

kong: 0.11.0

Start Up

To start containers and run migrations:

docker-compose up -d

Cassandra db takes a while to start up, there is a script that checks for cassandra to go up before kong-migrations runs

To View kong-migrations status:

docker-compose logs -f kong-migrations

The kong container will fail the first start up, this is becuase kong needs to run migrations before actually running, once the above commands exits you can run the containers again, the migrationos will only need to be run once

Finally, Start the containers one last time:

docker-compose up -d

Test Kongs Up:

curl <docker ip>:8001

This should return the kong admin information

This is a very simple example of a kong 0.11.0 implementation

KONGA UI

By default konga will be found on :8999, when running konga the first time set NODE_ENV=development (./environments/kong.env), this will run the konga migrations, once done run it with NODE_ENV=production

Access

username: admin
password: adminadminadmin

This is the default admin username and password

About

docker-compose setup for kong using cassandra and konga as a UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages