How to connect to my Soketi project in Railway

KKapatiD5/21/2023
Based on the example of using Pusher in the website [soketi.app](https://soketi.app/), how do I get the wsHostand wsPort after deploying the Soketi template in Railway? My project that will be connecting to this Soketi is a create-t3-app.

let client = new PusherJS('app-key', {
  wsHost: '127.0.0.1',
  wsPort: 6001,
  forceTLS: false,
  encrypted: true,
  disableStats: true,
  enabledTransports: ['ws', 'wss'],
})
KKapatiD5/21/2023
d740978b-74b7-426a-8f52-07ff6d546ac8
Solution
Bbrody5/21/2023
wsHost: '0.0.0.0',
wsPort: process.env.PORT | 6001,
KKapatiD5/21/2023
Do I need to also host my create-t3-app in Railway because currently it is deployed in Vercel
Bbrody5/21/2023
you can host your app wherever you want
Bbrody5/21/2023
that's up to you
KKapatiD5/21/2023
Ok I will try to use these values
KKapatiD5/21/2023
I just realized this how do I run my Soketi in my local machine?
KKapatiD5/21/2023
I have docker but when I run nixpacks build it tells me
Nixpacks was unable to generate a build plan for this app.
Please check the documentation for supported languages: https://nixpacks.com

The contents of the app directory are:

  Dockerfile
  README.md
Bbrody5/21/2023
ah yes good point
process.env.PORT | 6001
that way when there's no environment variable PORT it will fallback to 6001
Bbrody5/21/2023
if you are using a dockerfile you have to use the docker builder, nixpacks has nothing to do with building images starting from dockerfiles