Nam
Nam
RRailway
Created by Nam on 10/10/2023 in #✋|help
Posthog template not working
Hello, I tried to deploy the posthog template but it seems to be stuck in this state. Please help! ProjectID: 6d374044-8df9-40c9-9e75-55dc104b5325
5 replies
RRailway
Created by Nam on 6/8/2023 in #✋|help
Railway is down? getting 404 on everything
8 replies
RRailway
Created by Nam on 5/17/2023 in #✋|help
Next.js - "Cannot find module 'x'... " ONLY during build stage
Hi all, I have a Next.js yarn monolith project. I'm trying to deploy on Railway. The error I'm keep getting on Railway: Type error: Cannot find module 'pdf-lib' or its corresponding type declarations. I cannot reproduce this locally when I run yarn install and yarn build. We will appreciate it immensely if you can help us, thanks! More context: We have 2 repos - cronjob and web app, both are Next.js. Recently migrated all of our cronjob code into our web app code for monolith. We have the same app deployed on both Vercel and Railway, and we just wanna use the Railway instance for the purpose of cronjobs. Project id: 00312f09-a0bd-4217-95e0-9f6fbe84ae26
4 replies
RRailway
Created by Nam on 2/10/2023 in #✋|help
Map $PORT to my dockerfile
I want to deploy a dockerfile on Railway. I have a Dockerfile like this
FROM getmeili/meilisearch:v1.0
FROM getmeili/meilisearch:v1.0
And I ran
railway up
railway up
Now everything worked, but I cannot access my service because by default, it is listening on port 7700. How do I map it to the $PORT env variable, as specified in the doc?
4 replies