We will be using Google Cloud Run with the help of a Dockerfile. First, let’s say you have an application like this (main.go file below) Then you’ll need to create a Dockerfile in your directory (same as main.go): Then we can run this command (with Google Cloud SDK installed). myservice is the new name of …
Category Archives: Google Cloud
Have production and development environment variables
This is how you would have production and development environment variables in a JavaScript nodejs app. I have a back-end nodejs app where I want to connect to a local MySQL server, and when deploying the app to Google Cloud App Engine; have my production settings instead. First, try and see if you have already …
Continue reading “Have production and development environment variables”