secrets.toml when deploying streamlit apps
aibstracts
PROOP

10 months ago

I'm required to use the secrets.toml file from streamlit in order to be able to implement their built-in user authentication features. Not possible to do through env variables unfortunately, as far as I know/researched. Here's a bit more info

https://docs.streamlit.io/develop/api-reference/user/st.login

https://docs.streamlit.io/develop/api-reference/connections/secrets.toml

What's the recommended approach for deploying such secrets.toml on railway? Is it even possible? I haven't found a single reference online. So any tip or insight would be greatly appreciated.

Thanks in advance.

Solved

1 Replies

10 months ago

Hello,

Could you deploy your app first, then use railway ssh to create the file inside of the volume? then you can redeploy and your app can work with it.

Best,
Brody


Status changed to Awaiting User Response Railway 10 months ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...