You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All commands are in detached mode, hence use " docker logs "to view status.
docker inspect <container_or_volume_or_network name> to view properties for debugging.
Optionally docker-compose.yml by navigating "docker-compose up" can be used. However, the docker network create kong_net still needs to be run before hand.
You might need to add '&' at end of docker-compose up or use Ctrl+Z to exit without stopping.
docker pull kong
docker run --rm --network=kong_net -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong_database" -e "KONG_PG_PASSWORD=kong" kong kong migrations bootstrap
Setup KONGA database in PostgreSQL
docker pull pantsel/konga
docker run --rm --network=kong_net pantsel/konga -c prepare -a postgres -u postgres://kong:kong@kong_database:5432/konga
Instantiate KONG instance
docker run --name kong --network=kong_net -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong_database" -e "KONG_PG_PASSWORD=kong" -e "KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl" -p 80:8000 -p 443:8443 kong