https://github.com/socketcluster/agc-broker
Server for the Asyngular cluster - For horizontal scalability.
https://github.com/socketcluster/agc-broker
Last synced: 10 months ago
JSON representation
Server for the Asyngular cluster - For horizontal scalability.
- Host: GitHub
- URL: https://github.com/socketcluster/agc-broker
- Owner: SocketCluster
- License: mit
- Created: 2019-01-05T21:06:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T10:13:08.000Z (over 3 years ago)
- Last Synced: 2025-04-13T20:52:02.672Z (12 months ago)
- Language: JavaScript
- Size: 111 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# agc-broker
Server for the SC cluster - For horizontal scalability.
### Usage
```js
AGC_STATE_SERVER_HOST='127.0.0.1' AGC_BROKER_SERVER_LOG_LEVEL=0 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/agc-broker:vx.x.x .
```
```
docker push socketcluster/agc-broker:vx.x.x
```