Nico
Doubts about pricing
You can learn more about reference variables here: https://docs.railway.app/guides/variables#reference-variables :)
459 replies
Doubts about pricing
Heya ! the redis client will use the defaults to connect to a redis server. If you're running a simple redis server locally, the server likely uses all the defaults, therefore it's kinda magic for you.
On railway, you would setup a redis service, then in your app's service, you would add a
REDIS_URL
env variable, and have it references ${{Redis.REDIS_URL}}
You're also likely going to need to edit your code to use your env: createClient()
becomes createClient(process.env.REDIS_URL)
. to avoid null issues, you can also do const redisClient = process.env.REDIS_URL ? createClient(process.env.REDIS_URL) : createClient()
459 replies
Services not loading in Railway dashboard
you can follow the incident here: https://status.railway.app/clzwrctgs00013vuxipv2wi1c
8 replies
Dashboard is broken
you can follow the incident here: https://status.railway.app/clzwrctgs00013vuxipv2wi1c
7 replies