This repository provides example Docker configurations for several Kaazing Gateway deployment scenarios. The scenarios build upon each other, from a simple TCP braodcast scenario to more advanced protocols and architectures. You can follow the scenarios in order to learn how to configure the Gateway with Docker from the ground up, or you can jump directly to the scenario you are interested in.
These tutorials require that you have Docker and Docker Compose installed. If this is your first time using Docker follow the Docker Getting Started Guides:
These tutorials also require that the host name kaazing.example.com
resolve to the Docker host machine. To enable this resolution, add an entry in your hosts file for kaazing.example.com
that points to your Docker host's IP address. For example, if you are using Docker Machine, you can get the IP address with this command: docker-machine ip
. If you are using Kitematic, go to Settings then Ports. For other examples, see 10 Examples of how to get Docker Container IP Address.
Each subdirectory contains a scenario listed below and provides instructions on how to run the setup locally.
- Broadcasting TCP Data to WebSocket Clients
- Enable WSS (WebSocket over TLS)
- Authenticating Users
- AMQP and WebSocket
- JMS and WebSocket
- Redis and WebSocket
- Securing Your Deployments With Enterprise Shield™ (Firewall with no open ports for any service)
- HTTP Proxy - example coming soon.
- High Availability and Clustering - example coming soon.
- KWIC (Kaazing WebSocket Intercloud Connect) - example coming soon
Note: marks demos that require the Kaazing WebSocket Gateway - Enterprise Edition.