I'm setting up Filebot in a docker/container to rename files as they are dropped into a folder. The process relies on the .psm file, but it's showing an error instead.
Current setup -
Testing using the following commands -Code: Select all
filebot: image: rednoah/filebot:latest container_name: filebot volumes: - /volume1/media:/data - /volume1/docker/filebot:/config - /volume1/docker/filebot/FileBot_License_P1234567.psm:/opt/filebot/license.psm # ✅ mount original name to expected path networks: - media-clear entrypoint: tail -f /dev/null restart: unless-stopped
Successful output - License: Filebot License (email)Code: Select all
docker exec filebot filebot --license
Current output -Code: Select all
Error Bad License Key: PGP Signed Message not found
filebot --license means "read license key from standard input and save it to the application data folder" which doesn't make sense when you're using docker and don't have a console for standard input. Moreover, you don't need to "install" your license in the first place since you yourself already map it at the expected file path. Remember that filebot --license merely reads the license key and then saves it to the application data folder.
That said, every single line in the volume mappings is wrong and doesn't do what you seem to think it does:
Code: Select all
volumes:
- /volume1/media:/data
- /volume1/docker/filebot:/config
- /volume1/docker/filebot/FileBot_License_P1234567.psm:/opt/filebot/license.psm # ✅ mount original name to expected path
The rednoah/filebot container itself is simply the filebot command-line tool, and notably not a web application service.
In any case, back to square one, let's assume you just want to run FileBot (the Desktop app) as a docker container (i.e. remote Desktop accessible via a WebUI) so you'll want to just follow the filebot-xpra instructions here:
https://github.com/filebot/filebot-dock ... lebot-xpra
e.g.
Code: Select all
# docker-compose.yml
version: '3.3'
services:
filebot:
container_name: filebot-xpra
image: rednoah/filebot:xpra
restart: unless-stopped
volumes:
- data:/data
- /volume1/media:/volume1/media
ports:
- 5454:5454
environment:
- XPRA_AUTH=password:value=YOUR_PASSWORD
* I'm not pre-installing a license key via volume mappings, as to avoid confusion. filebot-xpra gives you the FileBot Desktop application so you can just select your license key from the host file system (i.e. from somewhere in /volume1/media) when needed. This will be a one-time operation.