Seeking Support for Railway Deployment Issues
giorgibliadze
TRIALOP

2 years ago

Dear Railway Support Team,

I hope this message finds you well. I am reaching out to seek assistance with deployment issues I am encountering while attempting to deploy my applications using Railway.

Currently, my setup involves a NX mono repository housing three Nest.js applications and two Next.js applications. While the applications function correctly locally, I have encountered challenges when trying to deploy them on Railway.

Specifically, I have encountered the following issues:

Configuration Challenges: Despite configuring the Railway settings according to the documentation, I am facing difficulties in ensuring that the deployment configuration is accurate for my mono repository setup.

Build Failures: During the deployment process, I am encountering build failures that are preventing the successful deployment of my applications. These failures seem to be related to dependencies and build scripts.

Environment Variables: I am uncertain about the best practices for managing environment variables within the Railway deployment environment, especially considering the multi-application structure of my project.

I have reviewed the documentation available on the Railway website, but I am still struggling to resolve these issues independently. Therefore, I am reaching out to your team for guidance and support in troubleshooting and resolving these deployment challenges.

Could you please provide assistance in identifying and addressing the root causes of these issues? Additionally, any insights or best practices specific to deploying a multi-application setup like mine would be greatly appreciated.

Thank you very much for your attention to this matter. I am looking forward to your prompt response and support.

Best regards,
Giorgi.

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

brody
EMPLOYEE

2 years ago

For every service in your NX Monorepo you want to deploy to Railway you will need a Railway service for it.

You will also need to have specific build and start commands in your root package.json that builds and starts each specific package in the monorepo so that you can use them in the service settings, and you deploy the repository from the root directory.


Loading...