a year ago
Description: The open-source feedback platform for LLMs
Category: AI/ML
5 Replies
a year ago
Hey just a few suggestions
Generally, you would want to leave username-type variables blank so the user can fill those out.
For password type variables you should use
${{secret(32)}}
so that Railway will generate a random 32-character string when deploying the template.If
OWNER_API_KEY
is something the user needs to provide then leave it blank, if it is an API key that's used to access the service being deployed, then use${{secret(32)}}
for this too.
Documentation reference - https://docs.railway.app/guides/create#template-variable-functions
a year ago
Hey Brody, thank you for the suggestions! Very helpful!
I moved all secrets from default value to ${{secret(32)}}.
a year ago
That's great, though I'd still suggest leaving the username-type variables blank so that users can't choose their usernames when deploying the template, having to go back and edit the username variables after the fact is not the best user experience in my opinion.