The 坑 of install Kong and Konga in Docker

Install Kong with PostgreSQL in docker

Create docker network

$ docker network create kong-net

Start database (psql should be 9.6!!)

$ docker run -d --name kong-database \

--network=kong-net \

-p 5432:5432 \

-e "POSTGRES_USER=kong" \

-e "POSTGRES_DB=kong" \



Certbot for wildcard domain

$ certbot certonly --manual -d * -d --server --preferred-challenges dns

Then following the instruction add add TXT record on your domain DNS