a year ago
Description: Deploy and Host Convex with Railway
Category: Storage
9 Replies
a year 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
a year ago
Persistent storage has added.
a year 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>
a year 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.
a year 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?
a year 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?
a year ago
Descriptions updated.
Attachments
a year 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.
