Kong ขั้นตอนการลง Kong CE และ Konga บน Docker Ubuntu
ทั้งหมดจะมี 3 docker ที่ run 1. Cassandra Database 2. Kong 3. Konga docker network create kong-net docker run -d --name kong-database --network=kong-net -p 9842:9842 cassandra:3 docker run --rm --network=kong-net -e "KONG_DATABASE=cassandra" -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" kong:latest kong migrations bootstrap --wait รอระบบทำงาน docker run -d --name kong --network=kong-net -e "KONG_DATABASE=cassandra" -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" -e "KONG_PROXY_ACCESS_LOG=/dev/stdout" -e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" -e "KONG_PROXY_ERROR_LOG=/dev/stderr" -e "KONG_ADMIN_ERROR_LOG=/dev/stderr" -e "KONG_ADMIN_LISTEN=0.0.0.0:8001" -p 80:8000 -p 433:8443 -p 8001:8001 -p 8444:8444 kong:latest docker run -d --name konga --network kong-net -p 1337:1337 -e "NODE_ENV=production" -e "TOKEN_SECRET=theRandomstringgoesHere12345" pantsel/konga https://localhost:1337 ...