The SST cluster serves as the entry point, proxies preview requests to the Manually provision a server-side tagging cluster Otherwise preview mode will not work correctly. Your load balancer or CDN must have a timeout longer than 20 seconds,.
This is needed for setting up the SST cluster.
e GOOGLE_APPLICATION_CREDENTIALS='/app/service_account_key.json' \ The following command runs the tagging server with theĬredentials included: docker run -v local_service_account_key.json:/app/service_account_key.json \ GOOGLE_CLOUD_PROJECT environment variable to let the tagging server Optionally, specify your Google Cloud project ID in the.Point the GOOGLE_APPLICATION_CREDENTIALS environment variable to the.Local_service_account_key.json:/app/service_account_key.json to mount the Mount the JSON credential in a volume accessible to the image.Follow this guide to create a service account with the BigQuery DataĮditor role for BigQuery access or the Cloud Datastore User role forįirestore access and export its JSON credentials with the filename.Provide a service account credential that is authorized to access those To use the BigQuery or Firestore API outside of Google Cloud, you must (Optional) Include Google Cloud credentials To see all available settings, run the following using theĭocker command line tool: docker run gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable server_bin.js -help In this section, we'll walk through how to look up all available settings The tagging server and preview server use the same Docker image with differentįlags. The tagging server Docker image can found at this URL: gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable View all available settings for the Docker image Refer to that organization's terms of service for more details. (whether it is a cloud provider or on-premise) may have access to your data. Note: When you set up your tagging server, the owner of the server environment In order to run the Docker commands in this guide, you must first installĭocker on your computer. Keep your tagging server version updated after provisioning the server.Verify that the preview server and SST cluster are configured correctly.Manually provision a SST cluster using the SST Docker image.Manually provision a preview server using the SST Docker image.(Optional) Include BigQuery credentials.View all available settings for the Docker image.See figure 1 for an illustration of the data interaction between the taggingįigure 1: A diagram of the tagging servers and preview server data flow. The SST cluster is theĮntry point for all requests to the tagging server and will handle requests asĭescribed in An introduction to server-side tagging. Tagging (SST) cluster and a preview server separately. Manually provisioning the tagging server requires provisioning the server-side Other environments, you can do so manually. If you want to provision the tagging server in The automatic provisioning flow can be used to deploy the tagging server toĬloud Run in just a few clicks.