December 2017
Intermediate to advanced
316 pages
6h 58m
English
First, install the PostgreSQL DB. One condition is that we need to expose the 5432 port. The user and database name should be kong, and that should be passed as environment variables to the container:
docker run -d --name kong-database \ -p 5432:5432 \ -e "POSTGRES_USER=kong" \ -e "POSTGRES_DB=kong" \ postgres:9.4
This command works in this way:
This creates a Docker container by pulling a PostgreSQL image, which is hosted on the DockerHub (https://hub.docker.com/) repository. Now, apply the migrations required by ...
Read now
Unlock full access