Closed aldovincenti closed 4 years ago
I don't think so, PeerServer needs a mongoDB, and I'm not sure if it still keeps state in memory @afrokick ?
If it doesn't, if you host your mongoDB somewhere else, it could work
@kidandcat MongoDB? I don't see any reference to it in the documentation...
It stores data in-memory. So, we don't use MongoDB
I've got it working. I use port 9000 to receive both peerjs-server and http requests. My ALB listens on 9000 and passes all the requests through to my server instance.
@RealHandy could you share your Dockerrun.aws.json ?
@Payetus I don't use docker, unfortunately. But I did do a writeup of my settings on StackOverflow that might be helpful, maybe, possibly? https://stackoverflow.com/questions/58793966/node-js-server-with-websockets-on-elastic-beanstalk-alb-without-socket-io/58793967#58793967
I was wondering if peerjs-server would be compatible with AWS Elastic Beanstalk.
Source: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.concepts.design.html
Did anyone try it?