restuwahyu13 / node-nginx

simple setup node with nginx on docker for beginner
14 stars 21 forks source link

Google Cloud Run deploy #2

Open goat-solutions opened 1 year ago

goat-solutions commented 1 year ago

How can I deploy a website with the architecture of this repository on Google Cloud Run?

restuwahyu13 commented 1 year ago

I think if you want deploy this app, into cloud follow this step

  1. create gcp cloud run
  2. install git and clone this repository after install git success
  3. install docker include docker-compose inside gcp cloud run, check youtube if you not undestand installation docker
  4. after install docker done
  5. run app like this docker-compose up --build -d --remove-orphans and add env_file property in docker-compose add your env file name