https://github.com/socketcluster/scc-broker
Server for the SC cluster - For horizontal scalability.
https://github.com/socketcluster/scc-broker
Last synced: 12 months ago
JSON representation
Server for the SC cluster - For horizontal scalability.
- Host: GitHub
- URL: https://github.com/socketcluster/scc-broker
- Owner: SocketCluster
- License: mit
- Created: 2016-06-27T13:06:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-08T11:07:25.000Z (over 2 years ago)
- Last Synced: 2025-04-11T00:44:24.655Z (12 months ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 11
- Watchers: 10
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scc-broker
Server for the SC cluster - For SocketCluster horizontal scalability.
### Usage
```js
SCC_STATE_SERVER_HOST='127.0.0.1' SCC_BROKER_SERVER_LOG_LEVEL=1 node server.js
```
### Log levels
* 3 - log everything
* 2 - warnings and errors
* 1 - errors only
* 0 - log nothing
### Build and deploy to DockerHub
Replace `x.x.x` with the version number.
```
docker build -t socketcluster/scc-broker:vx.x.x .
```
```
docker push socketcluster/scc-broker:vx.x.x
```