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

Pull out media server and handling into separate container #389

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liamwhite
Copy link
Contributor

This PR changes Philomena to call image processing tools with an RPC broker client and server, to make upgrading them independently of Elixir easier and to allow them to have a separate memory space.

One can call the broker client with (e.g.) broker broker:1500 execute-command -- file --mime-type -b image.png; this translation is directly integrated into the app, replacing System.cmd/2 where it previously appeared for media processing.

If you are not deploying using docker, broker should exist in PATH for the application, and you should compile broker_server and run it as a systemd service.

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

Successfully merging this pull request may close these issues.

1 participant