I tried hosting it on GKE but failed. It is not able to detect the main index.js file somehow. What to do? #672
Replies: 3 comments 1 reply
-
I would need more info on how your compose file looks like for the former question. My guess is you removed volumes and they are not being referenced correctly in the container, but for this
Yes, you can omit meilisearch and mongodb completely and just use mongodb atlas for the mongo_uri var. I made a compose file working for you, let me know if it works, about to push it up to main. If it works, writing a guide would be really appreciated! |
Beta Was this translation helpful? Give feedback.
-
Just pushed: #676 single-compose.yml:
|
Beta Was this translation helpful? Give feedback.
-
Keep me updated on this! |
Beta Was this translation helpful? Give feedback.
-
Okay, so I was using the Docker Install to run the app locally using
docker-compose.yml
, I wanted to host it as a service on Google cloud. Turns out simple Cloud Run service deployment is not possible because it's not a simple, single-container app. So, I broke it down to three separate containers with three deployment and service YAML files and tried to deploy on a GKE cluster that I created. Now, the rest of the two containers are running fine but for theapi
container, I'm getting this error:Am I doing something wrong?
Or, is there a way to convert it into a single-container app and host it on Google Cloud Run?
Beta Was this translation helpful? Give feedback.
All reactions