Deploying your own collaboration backend
CAE real-time collaboration is using 2 backend services…
y-websocket: an open-source implementation of a yjs-based shared document store communicating via web sockets
blobstore: a simple REST service that can store audio blobs (provided by DAVID Systems)
The easiest way to deploy these services is via docker containers.
y-websocket
Note: you need to configure an HTTPS proxy in front of this to publish it as HTTPS
services:
y-websocket:
container_name: y-websocket
image: alokinplc/y-websocket:latest
restart: always
ports:
- 1234:1234 # e.g. wss://y-websocket.davidsystems-test.com
blobstore
Note: you need to configure an HTTPS proxy in front of this to publish it as HTTPS
services:
blobstore:
container_name: blobstore
image: docker-registry-public.davidsystems.com:443/david-blob-store:latest
restart: always
ports:
- "19400:8080" # e.g. https://blobstore.davidsystems-test.com/blobs
environment:
BlobPath: /data
AccessToken: 6234aefd90901567acff
volumes:
- /root/blobs:/data
BlobPath defines where the audios are stored