R
Railway

✋|help

Ruby on Rails Deployment with database and redis

P.peacedevelopers8/21/2023
i had a few questions about linking my database and redis server within railway app ... I tried but was not able to resolve that can anybody help, i am deploying using Procfile ?
BBrody8/21/2023
please show us what you've tried and what errors you are receiving
P.peacedevelopers8/23/2023
I deployed my project biddingapp.up.railway.app on railway , do i need to connect mysql or postgresql or redis etc services with my project..... ?
I tried to use broadcasts in my app but it requires redis which was added in my project but not linked to it....
I did see railway docs but there is not much explaination about it
BBrody8/23/2023
it's just a redis database nothing special going on, setup all the variable references for redis as shown here
https://docs.railway.app/develop/variables#reference-variables
then use the resulting environment variables in code to connect to the database with whatever redis client library you would like, you'd find the docs for that side of things with whatever client library you choose
P.peacedevelopers8/24/2023
Ok that was helpful ☺️ let me try

Looking for more? Join the community!

Recommended Posts
Lost all my 20$ credits out of no whereSo i just got an email saying my projects needs 3$ in credits, but suddenly when i check? my whole 2any reason why my usage suddenly jumps to 4GB when there are no tasks running?The app had no requests for for the entire day but the usage jumped, any reason why this could happei want to dowload my post gre db locallyhow can i dowload my post-gre db locallyCloudflare custom domain not workingI just upgraded the api for Cloudflare, but the custom domain is no longer workingError: Unsupported Gradle version: 8============== Using Nixpacks ============== context: 78ee202a04734b630f61d71bea3f81cd  NixpacksOSError: libheif.so.1: cannot open shared object file: No such file or directoryHello, I have tried everything i can to get my django project deployed, the build completes, but depFlask app not workinghey there am very new to railway, i would love to get some help, I am not familiar with hosting a weAverage Cost of Ghost CMS Blog?Hi so I've recently moved over to Railway.app, after hearing great things about it and getting boggewebhook outdated docs and issuesHello First of, https://docs.railway.app/diagnose/webhooks this documentation seems outdated. I'm Configure GitHub PATHow do I configure my GitHub PAT (Personal Access token) while deploying my nestJS app on railway?How can I SSH into my CLI application?Hello, I have an CLI python app deployed but I need to connect to the service. I couldnt find how. IPostgres pricing questionsI'm starting to index a few data to my railway postgres. I need to clarify a few questions: 1. Wha