jins
jins
Explore posts from servers
RRailway
Created by jins on 7/4/2024 in #✋|help
App logs showing pgBouncer errors
No description
5 replies
RRailway
Created by jins on 6/28/2024 in #✋|help
Cost of replicas
What is the cost of extra replicas for a service? (my node.js server)
8 replies
RRailway
Created by jins on 6/27/2024 in #✋|help
Connect to public or private DB URL from app?
I'm just coming back around to updating an old project sicne the DB migrations a few months back. I have PgBouncer connected to my Postgres DB. - From my app I am connecting to the Public DB URL for PgBouncer - then PgBouncer connects to the Postgres DB via private internal connection (whatever was setup during that deployment). I just need to confirm that the app connecting to the public DB url is correct. Thanks
12 replies
RRailway
Created by jins on 6/13/2024 in #✋|help
How to add pgBouncer to existing Postgres database
Are there any guide on adding pgBouncer to an existing Postgres DB on Railway? I saw this template but I'm sure this deploys a brand new DB? https://railway.app/template/OpUzwe
19 replies
RRailway
Created by jins on 2/20/2024 in #✋|help
RAILWAY_PUBLIC_DOMAIN when custom domain is set
I don't have access to my account at the moment so I can't check this right now, but quick question. When a custom app domain is set (customdomain.com) will RAILWAY_PUBLIC_DOMAIN change to that or will it always be the service domain like example.up.railway.app
6 replies
RRailway
Created by jins on 12/19/2023 in #✋|help
Can I specify the bun version to use?
What version of bun is Railway using right now? I'm having a deployment issue due to bcrypt: Error: Cannot find module '/app/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node' The fix was released last week with v1.0.17: https://github.com/oven-sh/bun/issues/4063#issuecomment-1851375848
10 replies
RRailway
Created by jins on 7/31/2023 in #✋|help
Shared variables not detected in Next.js app
Hi, Does anyone know why two different Next.js apps I tried to deploy do not detect the shared variables shared to the environment being deployed? I have two environments: staging and production and I set shared variables in the project settings. For each environment I pulled the shared variables to use as service variables. Deployment kept failing because the env variables linked to the shared variables were undefined. If I explicitly set these with a value in the service variables instead of using shared, then it works.
38 replies
RRailway
Created by jins on 11/1/2022 in #✋|help
Trying to understand pricing...
Is there a better way to understand pricing other than https://docs.railway.app/reference/pricing ? I'm looking to host: App 1 - production - postgres+server for Next.js App 1 - dev environment - postgres+server for Next.js App 2 - dev environment - postgres+server for Next.js/Node.js I'm assuming prod/dev for one project do not share resources? Dev usage would be very low so not too concerned about that. Is Postgres billed extra from app server?
4 replies