Sign inSign up

thecodecamp/mock-tick-server

By thecodecamp

•Updated over 2 years ago

Image
0

166

thecodecamp/mock-tick-server repository overview

⁠Mock tick server

The application runs a mock stock market tick server exposing data through a web-socket running on ws://localhost:8000/echo It also contains a UI http://localhost:8000/home/ for displaying tick information

⁠Environment variables
WS_ADDR=localhost 
WS_PORT=8080
⁠With default port exposed
docker run --rm -p 8000:8000 --name tick-server mock-tick-server
⁠With custom port exposed
docker run --rm -p 8080:8000 -e WS_ADDR=localhost -e WS_PORT=8080 --name tick-server mock-tick-server

Tag summary

Content type

Image

Digest

sha256:724499fd2…

Size

7.5 MB

Last updated

over 2 years ago

docker pull thecodecamp/mock-tick-server