2 months ago
Description: Deploy and Host Convex with Railway
Category: Storage
8 Replies
2 months ago
Nice work ! I think this needs persistent storage as well for convex-backend incase it needs to support local file storage
orenaksakal
Nice work ! I think this needs persistent storage as well for convex-backend incase it needs to support local file storage
2 months ago
Persistent storage has added.
2 months ago
Can you check the CONVEX_SELF_HOSTED_ADMIN_KEY
env var?
Is it supposed to be ‘invalid’ by default?
Seems like a user is having issues with it.
https://x.com/diblacksmith/status/1932104338408968618?s=46&t=Gg7GpYgFUgsI4fIHUuWCZw
medim
Can you check the CONVEX_SELF_HOSTED_ADMIN_KEY env var?Is it supposed to be ‘invalid’ by default?Seems like a user is having issues with it.https://x.com/diblacksmith/status/1932104338408968618?s=46&t=Gg7GpYgFUgsI4fIHUuWCZw
2 months ago
Needs to follow the guide in the template page to generate a Admin Key.
Attachments
arnochenfx
Needs to follow the guide in the template page to generate a Admin Key.
2 months ago
Yep, just thought if we could pre generate it using a generator.
Can’t we change the var to something more descriptive? Like “CHANGE THIS, CHECK TEMPLATE GUIDE”
Or something between these lines?
medim
Yep, just thought if we could pre generate it using a generator.Can’t we change the var to something more descriptive? Like “CHANGE THIS, CHECK TEMPLATE GUIDE”Or something between these lines?
2 months ago
The Admin Key is generated by the program inside the container based on INSTANCE_SECRET and INSTANCE_NAME, so we cannot directly specify a random one through environment variable.
And INSTANCE_SECRET is generated by the template variable function.
medim
Yep, just thought if we could pre generate it using a generator.Can’t we change the var to something more descriptive? Like “CHANGE THIS, CHECK TEMPLATE GUIDE”Or something between these lines?
2 months ago
Descriptions updated.
Attachments
a month ago
This is cool! I was having issues with connecting to the backend service via private railway ipv6 url, specifically from convex clients (python client, javascript clients etc.), convex dashboard, and convex cli (I have a devbox in my railway project for convex dev) that live in other services...
How did you solve this problem without adjusting the tokio web server in the local_backend rust code so that it listens on ipv6?
I had to modify that and build my own custom convex-backend image in order to get it working.