This is the gorilla websocket echo example server, with a Dockerfile Used to create dougfort/websockserv:latest for testing connection upgrades
https://github.com/gorilla/websocket
- clone this repository
- run
./build.sh
, this will create deciphernow/websockserv:latest
- run
./run.sh
, this will run the container - From a browser run http://localhost:1111/ This will bring up a form with instructions
Click "Open" to create a connection to the server, "Send" to send a message to the server and "Close" to close the connection.
You can change the message and send multiple times.
The real test is to run this service behind a gm-proxy sidecar.