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

psycopg2 macOS 安装问题


报个这个错 ld: library not found for -lssl

clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: command 'gcc' failed with exit status 1

libssl.dylib 和 libcrypto.dylib 的版本问题



brew install openssl

env LDFLAGS="-I/......