Hi,
I’ve successfully developed and tested a real-time voice interview assistant using LiveKit agents, Deepgram, and Mistral, integrated with my Frappe application. I’ve already verified the setup in an AWS environment where the script runs as a persistent background service using Supervisor. It has been working reliably there, continuously handling real-time voice sessions and resume processing.
Now, I would like to deploy this same script on Frappe Cloud in a way that it runs 24/7, just like it does with Supervisor on AWS. The script is part of a custom Frappe app and uses async routines with livekit.agents.cli.run_app
as the entrypoint.
Specifically, I’m requesting guidance or support for the following:
- Running the LiveKit script persistently (i.e., as a background service) on Frappe Cloud.
- Using Supervisor or any equivalent method that is compatible with the Frappe Cloud infrastructure.
- Auto-restarting the service in case of failure.
- Accessing logs/output from the service (for debugging or monitoring).
- If necessary, configuring the process through
Procfile
, custom workers, or any recommended approach.
Since I’ve already validated this setup on AWS using Supervisor, I’m confident in the script’s behavior and just need help adapting it to the Frappe Cloud environment.
Please let me know the best way to proceed or if there’s any official method to register and manage such a persistent worker process on Frappe Cloud.
Thanks in advance for your help!