Closed subfuzion closed 2 years ago
I've pushed a public image to Docker Hub: subfuzion/mean-stack-example.
We can use this for testing the MVP until we're able to add support to build and deploy images as part of a pipeline. In the interim, it's expected that a user will have to specify the image they want to use as part of their configuration.
I have a working demo of the single container deployment running on Cloud Run: https://mean-stack-example-tagz5nlvpa-uc.a.run.app/
After checking out the pull request, run the following from the root directory of the repo:
gcloud run deploy SERVICE --project PROJECT --region REGION --allow-unauthenticated --source .
Track this pull request: https://github.com/mongodb-developer/mean-stack-example/pull/2
This adds the ability to deploy a single container that serves the static frontend assets from a server also hosting the backend on Cloud Run.