Web Dev Cody
Explore posts from serversHow to get Volume Data
I have an application where I'm using sqlite with a volume mount. At some point, I want to export the sqlite data or do analytics over it. What is the proper way to download that sqlite data from my volume mount and is that even possible in railway?
9 replies
Issue with Cloudflared Tunnels and Go
I currently have a lot of next.js applications already deployed to railway that use cloudflare tunnels and the internal hostname of the railway container.
I'm having an issue when trying to deploy a container with Go. I've tried setting the hostname to the internal container, but my site is not reachable. I'm wondering if anyone else has successfully deployed a go application to railway with cloudflare tunnels. I think it may be related to my scratch container in that maybe scratch can't resolve the DNS hostname due to missing binaries on the machine?
I'm having an issue when trying to deploy a container with Go. I've tried setting the hostname to the internal container, but my site is not reachable. I'm wondering if anyone else has successfully deployed a go application to railway with cloudflare tunnels. I think it may be related to my scratch container in that maybe scratch can't resolve the DNS hostname due to missing binaries on the machine?
20 replies
App unreachable when using nextjs standalone when using cloudflare tunnels
I'm trying to build and deploy a next.js standalone app, so I provided a custom docker file. It works fine when I don't use cloudflare tunnels, but when I so my tunnel can't access the service. Any insight into this issue?
5 replies
Is there a guide for how to setup cloudflare tunnels with railway?
I'm trying to follow what is listed out here, but I'm failing to understand this guide.
I've deployed a next.js project on a railway project, and I've also deployed the cloudflared template, setup the token in the cloudflared image, but I'm lost trying to point cloudflare to access my running next app.
40 replies
Websocket Disconnecting After Time
I have a socket.io web socket server which I'm deploying to railway. After some random amount of time, the my connections are getting disconnected. This does not happen when I run this same code locally. It also doesn't happen when I use a digitalocean droplet. Anyone know what is going on that is railway specific with socket.io websockets disconnecting?
96 replies