LemonLDAP::NG alternative pub/sub server
10K+
Web Pub/Sub server for LemonLDAP::NG
$ docker run -p 8080:8080 -e PUBSUB_TOKEN=qwerty yadd/lemonldap-ng-webpubsub
$ wscat -H 'Authorization: Bearer qwerty' -c ws://localhost:8080/subscribe?channels=chan1
$ curl -XPOST -d '{"foo":"bar","bar":"baz","baz":"foo","channel":"chan1"}' -H 'Authorization: Bearer qwerty' http://localhost:8080/publish
PUBSUG_ACCESS_LOG, default STDERR (to get access logs on docker console)PUBSUB_CERTPUBSUB_DEBUGPUBSUB_KEYPUBSUB_MAX_REQUEST_SIZE, default 8192PUBSUB_MAX_REQUEST_TIME, default 5PUBSUB_QUIET, default 1PUBSUB_PORT, default: 8443 if PUBSUB_CERT and PUBSUB_KEY are set, 8080 elsePUBSUB_TOKEN/publishAuthorization: Bearer <value>
/subscribe (this opens the websocket)Authorization: Bearer <value>
Content type
Image
Digest
sha256:40cffa017…
Size
17.4 MB
Last updated
about 5 hours ago
docker pull yadd/lemonldap-ng-pubsub-server