TFyre/bambu-farm

Running on docker

Closed this issue · 5 comments

I would like to get this working on docker and i would like to help if possible

Did you manage to get this sorted? Is there something I should add to the documentation?

Did you manage to get this sorted? Is there something I should add to the documentation?

No i was not :( im new to docker, im trying with portainer but no luck gives me errors (using synology nas)

Assuming you have it configured and running on your local computer already (meaning .env file is working and you can see the printer). If you havent done this yet, make sure you can run the software first, otherwise debugging via portainer will be extremely difficult!

Im not familiar with synology, but in general this is what you can do via the portainer web interface:

  1. create a volume for attaching the jar & .env file:
    in portainer -> volumes -> add volume -> call it bambu-farm
    image

  2. upload the jar and .env files into this folder
    You can probably do it through the synology interface, or you can do it via ssh i think.
    It should look something like this afterwards:
    image

  3. create the container
    in portainer -> containers -> add container ->
    name: bambu-farm
    image: azul/zulu-openjdk:21-latest
    add manual port -> 8080 : 8080
    image

command -> override:
working dir: /app
image

in volumes, link the volume:
image

  1. Deploy the container
    If all goes well, you should have a running container

container running and nor just need to config .env file