R
Railway

✋|help

GraalVM

Aavollmaier9/8/2023
Hi, is it possible to build a graalvm image in nixpacks? https://github.com/railwayapp/nixpacks/issues/961
Aavollmaier9/8/2023
N/A
or is it possible to directly deploy my docker image with a native compiled artifact inside?
Bbrody1929/8/2023
you can deploy a pre built docker image as long as it's public and hosted on dockerhub or github packages, or you can let railway build an image with your dockerfile
Aavollmaier9/8/2023
pre built docker image would be great - how is this possible?
Aavollmaier9/8/2023
Bbrody1929/8/2023
well first, do you want to even deploy it as a new project or do you have a project and service you want to add its source to?
Aa_dumb__9/8/2023
Deploy from a repo or upload from the cli with a dockerfile named Dockerfile in the root folder
Bbrody1929/8/2023
my understanding is that they're talking about an already built docker image
Aavollmaier9/8/2023
give me a sec, i've found the docker deploy section
Bbrody1929/8/2023
please clarify for us, are you talking about a pre built docker image or are you talking about a dockerfile?
Aavollmaier9/8/2023
pre built docker image
Bbrody1929/8/2023
okay please answer
Aavollmaier9/8/2023
i want to add a new service with that docker image
this could be a workaround to have a native spring image in railway
Bbrody1929/8/2023
do you already have a project I'm railway where you want to deploy this image?
Aavollmaier9/8/2023
yeah
Bbrody1929/8/2023
do you already have a service that you want to deploy the image to?
Aavollmaier9/8/2023
i have created this service now with this id: 73369300-cb71-4e9b-b488-59a5bb27f3b4
Bbrody1929/8/2023
do you have all the service variables setup?
have you generated a domain?
Aavollmaier9/8/2023
nope my own domain
Bbrody1929/8/2023
perfect
do you use a database?
Aavollmaier9/8/2023
no
Bbrody1929/8/2023
okay then go to the service settings and add the docker image under the source settings
Aavollmaier9/8/2023
this isnt solved yet
why does it uses so much memory - 73369300-cb71-4e9b-b488-59a5bb27f3b4 - this is my serive id
Bbrody1929/8/2023
I don't work for railway, those ids don't do anything for me
how much memory is so much?
Aavollmaier9/8/2023
260 MB - native images use 50
Bbrody1929/8/2023
doesn't seem like all that much tbh
Aavollmaier9/8/2023
could it be the railway os... :/
Bbrody1929/8/2023
are you deploying from an image or from a repo?
Aavollmaier9/8/2023
image
Bbrody1929/8/2023
then railway deployed your image as is
can you access the app from your domain?
Aavollmaier9/8/2023
found the problem
Bbrody1929/8/2023
awsome
Aavollmaier9/8/2023
memory consumption before vs after
Aavollmaier9/8/2023
now my microservices are using 40mb each and start in 0.099seconds

Looking for more? Join the community!

Recommended Posts
Debugging issuesIs their someway to get into filesystem so I can debug production errors a0aaa94d-45ad-410c-bcae-31Debugging issuesIs their somehow to get into file system? or the built filesEnabled mlockHi everyone, I'm currently creating a template for the hashicorp vault service (https://developer.hSubscription already existsI can't enable the developer plan, the system returns the message: "Subscription already exists"simple socket server got timeout errorhi i have a simple question if i have a java simple sever (spring boot) and in my app in another porCheck SuitesI'm looking for a feature that could allow to deploy if failed build So I try to use Check Suites bTypeError: fetch failed error without much description in the logsFull error below: TypeError: fetch failed at Object.fetch (/app/node_modules/next/dist/compiled/unRenamed user/organization for GitHub - unsafe?A student organization I work with has a cron job service for our database, and it's linked with ourContainer Failed to StartError Response from Daemonssh tunneling errorWhen trying to deploy a django project the following error occurs "raise ValueError('No password or Paths not working when deployed to railway but works in local environmentCurrently making a vite/typescript/react project that has working route handling locally but does nopgbouncerHey folks, I have a supabase and Nextjs (+ prisma) project deployed in Railway, what's the best optiAccessing files inside the volumewhat's the best way to export build artifacts from one service to another? during build process, a tHow usage-based resource management works ?Hello, how Railway manages resource scaling ? like how are vCPU and RAM scaled up and down automaticHow to dynamically scale the replicas of an APIs deployed via Railway based on demand?I have API service with a certain number of replicas, whats the recommended way to scale the number Laravel application failed to respondI am unsure what is causing the issue but the after deploying my laravel app, it still does not starRailway credits gone??I had $15.46 in credits, and now $5 is gone. I have a single project, and I know for a fact my projeInstalling apt packages for puppeteerHi, im trying to run puppeteer on Railway but am getting an error that it cant find some packages. IIs it possible to set permissions on volumes?Dockerfile is using user id of 1000,and the WORKDIR which they own is /app. A Volume is mounted at /Trying to pg_dump and getting this weird error:Hi guys I am following this tutorial: https://blog.railway.app/p/postgre-backup and i am getting th