How to connect to my Soketi project in Railway
Based on the example of using Pusher in the website soketi.app, how do I get the
wsHost
and wsPort
after deploying the Soketi template in Railway? My project that will be connecting to this Soketi is a create-t3-app.
7 Replies
Project ID:
d740978b-74b7-426a-8f52-07ff6d546ac8
d740978b-74b7-426a-8f52-07ff6d546ac8
Solution
Do I need to also host my create-t3-app in Railway because currently it is deployed in Vercel
you can host your app wherever you want
that's up to you
Ok I will try to use these values
I just realized this how do I run my Soketi in my local machine?
I have docker but when I run nixpacks build it tells me
ah yes good point
process.env.PORT | 6001
that way when there's no environment variable PORT it will fallback to 6001
if you are using a dockerfile you have to use the docker builder, nixpacks has nothing to do with building images starting from dockerfiles