danielo515
danielo515
Explore posts from servers
RRailway
Created by danielo515 on 8/14/2024 in #✋|help
Getting a 404 but my service is up and running
Hello. I'm getting a 404 for all the requests to my container through the generated public URL. Everything in my service looks correct, so I don't know what the problem could be
3 replies
CDCloudflare Developers
Created by danielo515 on 5/21/2024 in #workers-help
Having some worker functions in a subdirectory of a existing project
Hello. I want to deploy some functions to cloudflare workers from a existing node-js project that I have. Every tutorial about workers/wrangler starts with "create a new project" so I am not sure what is the way of adding it to a subfolder of an existing node-js project. Any guidance or pointers to existing resources will be welcome.
1 replies
RRailway
Created by danielo515 on 5/5/2024 in #✋|help
Can I somehow pay to change the region
Hello. I see the regions are only available in the pro plan. I only need to move one of my services for a couple of days to the EU region. Is this possible paying something other than the PRO plan? Can I upgrade to pro for a mont and then get back to hobby?
9 replies
RRailway
Created by danielo515 on 5/5/2024 in #✋|help
how to get the git sha at compile time?
just as the title says. I want to embed it on my app
5 replies
RRailway
Created by danielo515 on 3/17/2024 in #✋|help
do http compression at proxy level?
Hello. I'm migrating my website to railway, and being used to other providers doing compression at the proxy level I'm a bit surprised railway does not. Is there any setting to activate this? Should I do this at the cloudflare level just like my custom domain?
18 replies
RRailway
Created by danielo515 on 3/5/2024 in #✋|help
In my Astro site one of the routes is routing to localhost
Hello. I am trying to move my Astro site from Vercel, where it is currently working without problems (except for some bug in the Vercel integration that makes impossible to build static pages) to railway. I created a docker image and managed to make it build properly. The site is deployed and available, but for some weird reason one of the routes that points to a static path is redirecting me to localhost. When I click the link first I see a white screen saying that I will be redirected to localhost, and them I am redirected to localhost. Any idea why? Is this something Railway load balancer does?
59 replies
RRailway
Created by danielo515 on 3/5/2024 in #✋|help
Is the cache-id with the ID of the service still a requirement?
It has been explained here: https://discord.com/channels/713503345364697088/1104400912149123152/1108081571665281085 Is there a way to get this injected automatically so I don't tie my docker files to what will can be an ephemeral service id?
4 replies
RRailway
Created by danielo515 on 9/20/2023 in #✋|help
How to select which service to get logs from in the CLI?
Hello. I tried to use the CLI to get logs from one of the services in my project, but sadly the CLI was showing me the logs of another service. Cheking all the options of the CLI doesn't seem possible to target specific services or get all the logs, it seems to focus on the latest service that was built. Is this a limitation?
15 replies
RRailway
Created by danielo515 on 9/20/2023 in #✋|help
Browserless fails to create lockfile due to permissions
Hello everybody, I'm just testing railway, and so far I'm happy. However, I tried to attach a volume to one of my working services, and after configuring it properly to use the path it is raising a permissions error. The docker image is browserless, and the way I have it configured is with this environments:
PORT=3000
HOST=browserless
VERSION=latest
CONNECTION_TIMEOUT=-1
KEEP_ALIVE=true
WORKSPACE_EXPIRE_DAYS=1
ENABLE_CORS=true
CHROME_REFRESH_TIME=86400000
DEFAULT_BLOCK_ADS=true
FUNCTION_ENABLE_INCOGNITO_MODE=true
ENABLE_XVBF=true
USE_CHROME_STABLE=true
NODE_ENV=production
MAX_CONCURRENT_SESSIONS=1
DEFAULT_USER_DATA_DIR=${{RAILWAY_VOLUME_MOUNT_PATH}}
PORT=3000
HOST=browserless
VERSION=latest
CONNECTION_TIMEOUT=-1
KEEP_ALIVE=true
WORKSPACE_EXPIRE_DAYS=1
ENABLE_CORS=true
CHROME_REFRESH_TIME=86400000
DEFAULT_BLOCK_ADS=true
FUNCTION_ENABLE_INCOGNITO_MODE=true
ENABLE_XVBF=true
USE_CHROME_STABLE=true
NODE_ENV=production
MAX_CONCURRENT_SESSIONS=1
DEFAULT_USER_DATA_DIR=${{RAILWAY_VOLUME_MOUNT_PATH}}
8 replies