Skip to content

Docker image of Kong Api Gateway with PostgreSQL availability check and db bootstrap at start

Notifications You must be signed in to change notification settings

Murabei-OpenSource-Codes/autoboostrap-kong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Auto Boostrap Kong

This image is very similar to the official kong one, but first checks if the database is avaiable at KONG_PG_HOST and bootstrap database before starts running.

https://konghq.com/kong/ https://hub.docker.com/_/kong

License

This project is under MIT License.

Docker image

https://hub.docker.com/repository/docker/andrebaceti/autoboostrap-kong

Github

https://github.com/andrebaceti/autoboostrap-kong

Docker compose example

version: "3.7"
services:
  postgres-kong
    image: postgres:12
    environment:
      - POSTGRES_PASSWORD=kong
      - POSTGRES_USER=kong
      - POSTGRES_DB=kong

  load-balancer--client-1:
    image: andrebaceti/boostrap-kong:0.0
    ports:
      - "8000:8000"
      - "8001:8001"
    environment:
      - KONG_PG_HOST=postgres-kong

About

Docker image of Kong Api Gateway with PostgreSQL availability check and db bootstrap at start

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published