AmedeeBulle / octoprint-containers

Resin.io / Docker setup for OctoPrint on Raspberry Pi 3B/3B+
19 stars 7 forks source link

Multiple printer / docker support #3

Open asys3 opened 5 years ago

asys3 commented 5 years ago

Hi, I'm the guy who still wants to drive two docker instances for 2 3D printers and their according webcam. Perhaps you remember me ? You helped me cloning the docker-compose file to instantiate a second three container scenario on different ports. https://twitter.com/bommeltje/status/999634112989319169 I just updated to the December 2018 octoprint version and I'm still struggling with serial errors when even connecting both containers at the same time. So the print on my first printer stopped with serial timeout, when I tried to connect to the printer in the other container.

I think perhaps more ports must be separated because on docker ps (attachement) I see the ports 5000 and 5200,8080 exposed identically on both containers. So my error when connecting could be a collision on port 5000 and when I come to my webcams I would expect problems on 5200/8080 also. Could that be?

What should be done to separate the different container scenarios completely and make them accessable from the outside as well (remote control apps, etc.)?

Thanks for the help!

At the end I would ask if it at the end it is possible to transfer the port configurations in the env file or cfg file so that a possible multible printer usage can be easiliy setup.

docker-compose.yml.txt docker-compose2.yml.txt dockerPSOut.txt haproxy.tar.gz octoprint.tar.gz webcam.tar.gz

Best regards, Uwe

AmedeeBulle commented 3 years ago

This is more than overdue, but if you are still looking for this feature, PR #11 should address this...