https://github.com/nicksterious/socketcluster
Customized socketcluster with SSL support
https://github.com/nicksterious/socketcluster
docker-image socketcluster ssl
Last synced: 7 months ago
JSON representation
Customized socketcluster with SSL support
- Host: GitHub
- URL: https://github.com/nicksterious/socketcluster
- Owner: nicksterious
- License: mit
- Created: 2021-06-20T15:32:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-19T09:38:09.000Z (over 2 years ago)
- Last Synced: 2025-02-26T23:57:27.280Z (12 months ago)
- Topics: docker-image, socketcluster, ssl
- Language: JavaScript
- Homepage: https://hub.docker.com/repository/docker/flinkwise/socketcluster
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Socketcluster
Customized socketcluster with SSL support
## Usage
Put your SSL certificates in a directory:
* ssl.key
* ssl.crt
* ssl.cabundle
And mount it as in the following docker-compose example:
```
socketcluster:
build: ./socketcluster
container_name: socketcluster
hostname: socketcluster
restart: "always"
ports:
- "9500:9500"
environment:
SOCKETCLUSTER_WORKERS: 3
SOCKETCLUSTER_BROKERS: 1
ENV: prod
USE_SSL: 1
volumes:
- "./_persistence/socketcluster/logs:/logs"
- "./_ssl:/ssl"
```
# In production
This image is used in production at [White label sportsbook](https://www.whitelabelsportsbook.net) and [Turnkey sportsbook software](https://www.turnkey-sportsbook-software.com) on a number of high-performance sports, casino and e-gaming websites. Socketcluster is a solid alternative to every other realtime library and ideal to broadcast thousands of updates to streaming sports market data from the server side to sports website clients as it comes with a small resource footprint and successfully handles several thousand updates to volatile sports market data per second.