Use the latest version of kong and konga, and do not need to compile, directly pull the official image to run.
Four containers:
- kong-database : postgres
- kong-migrations : kong
- kong : kong
- konga : konga
docker-compose up -d
Configure https as follows, and then use https protocol to access port 8443.
kong:
...
volumes:
- "./ssl:/mnt/ssl"
environment:
- KONG_SSL_CERT=/mnt/ssl/ssl.pem
- KONG_SSL_CERT_KEY=/mnt/ssl/ssl.key
...
install kong using docker: https://docs.konghq.com/install/docker/