Latch Pods make it easy to host any custom application, such as Dash Apps, RShiny, Streamlit, and more, on Latch.
Prepare your app.
Modify the startup script.
/opt/latch/custom_app
. Make sure the app is on port 5000, and listens to 0.0.0.0
not localhost
./root/app.py
) contains:
After you've set the app to the correct port and host, start your Custom App.
/opt/latch/custom_app
and start the application for the first time on the Pod.Enable the custom app service.
Toggle on 'Show Custom App (Port 5000)'.
Open your App.