MantisInABox
MantisInABox
RRailway
Created by tensor8045 on 6/26/2024 in #✋|help
Deploying Astro on Railway
correct
24 replies
RRailway
Created by tensor8045 on 6/26/2024 in #✋|help
Deploying Astro on Railway
import { defineConfig } from 'astro/config';
import node from "@astrojs/node";

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
output: "server",
adapter: node({
mode: "standalone"
}),
server: {
host: '0.0.0.0'
},
integrations: [tailwind({
applyBaseStyles: false,
})]
});
import { defineConfig } from 'astro/config';
import node from "@astrojs/node";

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
output: "server",
adapter: node({
mode: "standalone"
}),
server: {
host: '0.0.0.0'
},
integrations: [tailwind({
applyBaseStyles: false,
})]
});
24 replies
RRailway
Created by tensor8045 on 6/26/2024 in #✋|help
Deploying Astro on Railway
Start should be node ./dist/server/entry.mjs
24 replies
RRailway
Created by Ashmit on 6/24/2024 in #✋|help
Custom Domain issue
GoDaddy is notoriously slow to update DNS. It can take up to 72 hours for DNS records to propogate across all servers, before it is fully configured.
9 replies
RRailway
Created by Ashmit on 6/24/2024 in #✋|help
Custom Domain issue
Also, when did you update your DNS records to point to Render?
9 replies
RRailway
Created by Ashmit on 6/24/2024 in #✋|help
Custom Domain issue
Did you have the custom domain connected to Railway at any point? Have you removed it from any projects it was used on in railway, and ensured that your DNS records are correctly pointing to render?
9 replies
RRailway
Created by 조이 on 3/30/2024 in #✋|help
Is Pro Plan Also Included $20 of usage monthly like hobby plan?
@joielee no, the pro plan does not include usage
5 replies
RRailway
Created by kanhaiya lal bohra on 3/30/2024 in #✋|help
Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
Did you add an Environment variable to your service for PORT equalling 80?
4 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
If your entrypoint into the application is a function called "app" then you would use app... if it is a declaration of main, you would use main
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
Just Dockerfile no dot, no file extension.
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
Dockerfile
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
That should work as a starting point, yes.
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
Can you share your git repo?
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
For deploying on Railway, you will need to use a Dockerfile. The error above is related to libGL not being available in you nixpacks deployment.
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
Also, are you using nixpacks to build, or a Dockerfile?
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
Can you also share your requirements.txt file?
23 replies
RRailway
Created by kanhaiya lal bohra on 3/29/2024 in #✋|help
can't access fast api
Please share your deployment logs
23 replies
RRailway
Created by Ghost Order on 3/20/2024 in #✋|help
ram usage local vs production
It will vary yes, but I don't believe it should be that much. But then again, locally, you are using dev which doesn't cache things. In memory cache is what would eat that up
19 replies
RRailway
Created by Ghost Order on 3/20/2024 in #✋|help
ram usage local vs production
A default next app will use roughly 100MB, so, depending on complexity, this could be extremely normal
19 replies
RRailway
Created by Joey@Backdrop on 3/15/2024 in #✋|help
Help supporting builders on Railway?
@Angelo would be the one to discuss something like this with. He will reach out when he's online and sees this.
6 replies