Guest User

Untitled

a guest
Jan 22nd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. docker run -d --name kong-database -p 9042:9042 cassandra:3
  2. docker run --rm \
  3. --link kong-database:kong-database \
  4. -e "KONG_DATABASE=cassandra" \
  5. -e "KONG_PG_HOST=kong-database" \
  6. -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
  7. --net kongdock_default \
  8. kong kong migrations up
  9. docker run -d --name kong \
  10. --link kong-database:kong-database \
  11. -e "KONG_DATABASE=cassandra" \
  12. -e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
  13. -e "KONG_PG_HOST=kong-database" \
  14. -p 8000:8000 \
  15. -p 8443:8443 \
  16. -p 8001:8001 \
  17. -p 8444:8444 \
  18. --net kongdock_default \
  19. kong
  20. docker run -p 1337:1337 --link kong:kong --name konga -e "NODE_ENV=development" pantsel/konga
Add Comment
Please, Sign In to add comment