I have 2 docker containers on my raspberry:
PyLoad
FileBot (this container start and stop after its job finished)
I have a hook in my PyLoad container that can trigger a command when a download is finished. I would like to trigger a script run of my Filebot container.
To run the filebot script manually from host, I do this :
docker run -v /media:/tmp filebot -script fn:amc --output "/tmp" --log ALL --log-file amc.log
--action move --conflict override -non-strict "/tmp/DL/complete"
--def "movieFormat=/tmp/Movies/{n} {y}/{fn}"
--def "seriesFormat=/tmp/TV Shows/{n}/{'S'+s}/{fn}"
--def excludeList=amc.txt
How can I trigger this command from my PyLoad container ?
I thought about sending a signal from container to host but I can only find the way to do the opposite.
I wanted to share my /usr/bin through a volume but I wondered if there is a better way to do this. Also the filebot script need to be run with several volumes associated with my host.
Thank you