多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.5 KiB

title description tags keywords
GCP Cloud Run Installing NocoDB on Google Cloud Run [Open Source] [NocoDB installation NocoDB Google Cloud run installation NocoDB prerequisites]

Deploying NocoDB on GCP Cloud Run

This guide will help you deploy NocoDB on Google Cloud Platform using Cloud Run.

Prerequisites

  • Google Cloud SDK installed and configured
  • Docker

Deployment Steps

  1. Pull the NocoDB Docker image:

     ```bash
     docker pull nocodb/nocodb:latest
     ```
    
  2. Tag the image for Google Container Registry (GCR):

         ```bash
         docker tag nocodb/nocodb:latest gcr.io/<MY_PROJECT_ID>/nocodb/nocodb:latest
         ```
    
  3. Push the image to GCR:

             ```bash
             docker push gcr.io/<MY_PROJECT_ID>/nocodb/nocodb:latest
             ```
    
  4. Deploy NocoDB on Cloud Run:

     ```bash
     gcloud run deploy --image=gcr.io/<MY_PROJECT_ID>/nocodb/nocodb:latest \
               --region=us-central1 \
               --allow-unauthenticated \
               --platform=managed 
     ```
    

Important Notes

  • Cloud Run only supports images from Google Container Registry (GCR) or Artifact registry. Hence we pull the image from Docker Hub and push it to GCR.
  • Ensure that your GCP project has the necessary APIs enabled (Cloud Run, Container Registry).
  • The --allow-unauthenticated flag is used to allow unauthenticated access to the service. You can remove this flag if you want to restrict access.