Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple printers #22

Closed
appleimperio opened this issue Jun 2, 2022 · 3 comments
Closed

Multiple printers #22

appleimperio opened this issue Jun 2, 2022 · 3 comments

Comments

@appleimperio
Copy link

is there a way to add multiple printers?

@mkuf
Copy link
Owner

mkuf commented Jun 3, 2022

Hi,

you'll have to create a klipper and moonraker service for each printer that you'd like to run. Each printer also needs separate docker volumes for storing gcode, etc.

Each moonraker Service should be hosted under a separate subdomain or port.
It is probably the easiest to add portbindings directly to the moonraker services instead of proxying them via traefik.

The Webfrontends (mainsail/fluidd) do not need to be duplicated, as they can accomodate multiple printers.


Alternatively, you could start the whole stack multiple times.
Clone prind into a different subdirectory and reconfigure the portbindings for traefik in your docker-compose.override.yaml.
You can then access all Services via a different Port (in this case 81). Keep using different Ports for each printer that you'd like to run.

services:
  traefik:
    ports:
      - 81:80

This comes with the Downside that supporting Services such as traefik or the web frontends run multiple times. This requires more resources but is probably the easiest way if you do not want to deal with writing compose files yourself.

-Markus

@appleimperio
Copy link
Author

Thanks for the explanation. I will try it and see how it goes.

@mkuf mkuf closed this as completed Jun 4, 2022
@mkuf mkuf mentioned this issue Jun 18, 2022
@mkuf
Copy link
Owner

mkuf commented Jul 8, 2022

@appleimperio you might want to have a look at #28 (comment), if you're still interested in this.

-Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants