The stock-liveview is a NodeJS application designed to show the stock prices in real-time. It uses WebSockets to push the stock prices to the client. The stock prices are loaded from a MongoDB replica set.
For more details, please check our GitHub repository.
MONGODB_URL: The URL of the MongoDB replica set (default: mongodb://127.0.0.1:27017,127.0.0.1:27018,127.0.0.1:27019/?replicaSet=rs0)
MONGODB_DB: The name of the database to use (default: stockmarket)
MONGODB_COLLECTION: The name of the collection to use (default: stocks)
MONGODB_URL: The URL which the viewer can reach the MongoDB (default: mongodb://127.0.0.1:27017,127.0.0.1:27018,127.0.0.1:27019/?replicaSet=rs0)
PORT: The port on which the application will run (default: 3000)
NODE_ENV: The environment in which the application is running (default: development)
docker run -e MONGODB_DB=your_mongodb_name -e MONGODB_URL=your_mongodb_url -e MONGODB_COLLECTION=your_mongodb_collection ditfedi1/stock-viewer
Content type
Image
Digest
sha256:b833343b1…
Size
56 MB
Last updated
over 2 years ago
docker pull ditfedi1/stock-viewer