Skip to content

Instantly share code, notes, and snippets.

@aonrobot
Last active May 16, 2019 06:11
Show Gist options
  • Save aonrobot/6ff34806ecd671006cc133885e4eee3c to your computer and use it in GitHub Desktop.
Save aonrobot/6ff34806ecd671006cc133885e4eee3c to your computer and use it in GitHub Desktop.
run kong without require https
docker run -d --name kong \
--network=kong-net \
-e "KONG_DATABASE=postgres" \
-e "KONG_PG_HOST=kong-database" \
-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, 0.0.0.0:8444 ssl" \
-e "KONG_TRUSTED_IPS=0.0.0.0/0,::/0" \
-p 80:8000 \
-p 8443:8443 \
-p 8001:8001 \
-p 8444:8444 \
kong:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment