Yashu
Explore posts from serversHow to split the build process from 1 repo and deploying 2 different services?
I am trying to deploy (1 node, and 1 go) service.
And I have a
Dockerfile
for deploying the Node service.
But, now the go service is also using the same Dockerfile
.
I prefer to use the Config As Code option, instead of using UI settings.26 replies
Application failed to respond
I checked my uptime software and noticed it was saying the application was down 18 hours ago.
I don't exactly know what happened. "App sleep" is also disabled.
I restarted my backend service and after that it worked fine.
But I didn't restarted the frontend, and it is continuing to display the same error "Application failed to respond"
31 replies
Service is still deploying even after 11 hours ago
From the Railway dashboard, I can see one of my services status is still showing deploying (638:40)
I don't think there is any issue with the codebase itself :thinkies:
Project ID: 8fc2ad89-714b-4cb3-9778-cb64d1373409
12 replies
Deploy static site after CI build
I have already seen few templates from Railway & the community for deploying static site to Caddy or Nginx.
But in cases the static files are already been version controlled in Git.
Where as, I have a Vite react application, which I would like to deploy using Caddy.
But not sure, how to do that.
23 replies
CDCloudflare Developers
•Created by Yashu on 4/26/2024 in #workers-help
How to set metaData to R2 object
I am using aws s3 based API to interact with r2 object.
I am trying to set metadata like this
But when I try to see metadata from the cloudflare dashboard.
I can't see any metadata for that specific object.
2 replies
CDCloudflare Developers
•Created by Yashu on 4/22/2024 in #workers-help
Cannot read properties of r2
I am trying to interact with r2 bucket from a worker.
But I get this error
Yes, I have already bind the bucket inside
wrangler.toml
file13 replies
How can I Duplicate the volume data
I was trying to sync the environment variable to Doppler service.
While it didn't imported all the environment variables to Doppler, and instead it messed up some variables in railway.
Luckly, it was just a database Docker image, and the data is still safe.
it was the production database 🙈
How can I duplicate the volume data, so that I can create a new service and attach the duplicated volume to the new service.
15 replies
Talk to another private service with correct URL?
I have added the private URL of serviceB to serverA.
serverA: webapp
serverB: api
I have deploy a graphql apis on serverB at
example.com/graphql
URL.
I have tried in the serverA as environment variable API_URL
in following ways:
- serviceB/graphql
- serviceB:<PORT>/graphql
If I directly added the internal URL with sub-path it doesn't work.
Am I doing something wrong here?8 replies
CDCloudflare Developers
•Created by Yashu on 8/27/2023 in #pages-help
How can I run static + dynamic site under same domain?
I am trying/figuring out, how to run a static site (SSG) + dynamic app (using Next.js SSR) serve pages under same domain.
For example
Static site
Hosted on Cloudflare pages
* /
* /pricing
* /features
* /contact
* /help
Dynamic site
Currently hosted elsewhere
* / (if auth cookie is present show the dynamic site with user logged-in)
* /settings (if auth cookie is present)
* /<username>
How can I merge both the sites together to be severed from single domain?
3 replies
How to deploy maildev image?
How can I deploy a https://hub.docker.com/r/maildev/maildev docker image?
As it require to define 2 different ports, one for the UI interface and other one for incoming emails.
6 replies
How to configure Nixpacks to not use Dockerfile?
Even though I have a
Dockerfile
in my codebase.
I still want to use custom script file to build & start the server.
How can I change that behaviour in Railway?
Service ID: c2b1be14-293e-4445-a697-4eb6ff3b185f
8 replies
Reverse proxy requests via private networking to Docker container
I was trying to deploy a third-party docker image, and Railway ask to export the app via
0.0.0.0:PORT
. Since I can't modify the source code, neither the docker image has the SET of environment variable to do so.
I was thinking to create a separate app which will be public and routing requests via private networking to the Docker container.
Is that possible?11 replies
CDCloudflare Developers
•Created by Yashu on 2/22/2023 in #workers-help
How to use remote kv worker while running in local environment?
According to the docs, I have added the required flags
Even after then it is still throwing this error:
7 replies
Unable to deploy to latest commit after rolling back
I tried rolling back to previous deployment but now if I re-trigger deploy by updating the ENV it doesn't deploy using the most latest commit.
NOTE: I didn't pushed any new commit after rolling back to previous deployment.
Project ID:
448c94c1-34c2-473c-ad1d-3faab9db779d
1 replies
Docker deployments is not processing ENVs correctly
I am using railway postgres & redis database with built-in variables
REDIS_URL
and DATABASE_URL
In the Deploy logs, it throwing an error.
REDIS: error: Error: connect ENOENT/$%7B%7B%20REDIS_URL%20%7D%7D
I've already added environment variables as ARG
in dockerfile.15 replies