Page 1 of 1

Run docker filebot-cli from other container

Posted: 28 Jul 2020, 20:22
by tresi
Hello,

I am trying to get Filebot running in a docker container and have a comprehension problem:

There are two containers with shared NFS shares on the same host. In one container Sabnzbd is running, in the other Filebot.

Using a post-processing script in the Sabnzbd container, I want to call filebot via command-line in the other container. Logically this does not work that way. How can I do that?

Thanks a lot in advance!

Best regards
tresi

Re: Run docker filebot-cli from other container

Posted: 29 Jul 2020, 04:26
by rednoah
tresi wrote: 28 Jul 2020, 20:22 Using a post-processing script in the Sabnzbd container, I want to call filebot via command-line in the other container. Logically this does not work that way. How can I do that?
It's effectively two different machines, so they can only communicate via the network. A general solution would be to have Container A use SSH to log into Container B to run commands.


A solution specific to FileBot containers would be using FileBot Node and setting up prepared tasks which you can then kick off remotely via HTTP requests:
https://hub.docker.com/repository/docke ... ah/filebot
Once the FileBot Node Service is running, you can access the web interface via http://localhost:5452/filebot/. You can create prepared tasks via Execute ➔ Schedule and then execute them remotely via curl http://localhost:5452/task?id=${TASK_ID}.

Re: Run docker filebot-cli from other container

Posted: 29 Jul 2020, 17:52
by tresi
Hi,

thanks for your support.

I had it figured. But it's no problem, I'll build my own Docker image which contains everything I need :-)

Many greetings
tresi