Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Adding a guide on deploying Infisical using Google Cloud Run

ArshBallagan6e9651d188e8
diff --git a/docs/images/self-hosting/guides/google-cloud-run/cloud-run-container-image.png b/docs/images/self-hosting/guides/google-cloud-run/cloud-run-container-image.png
new file mode 100644
index 0000000000..b18fd77133
Binary files /dev/null and b/docs/images/self-hosting/guides/google-cloud-run/cloud-run-container-image.png differ
diff --git a/docs/images/self-hosting/guides/google-cloud-run/container-env-vars.png b/docs/images/self-hosting/guides/google-cloud-run/container-env-vars.png
new file mode 100644
index 0000000000..ee5f9257b0
Binary files /dev/null and b/docs/images/self-hosting/guides/google-cloud-run/container-env-vars.png differ
diff --git a/docs/self-hosting/guides/google-cloud-run.mdx b/docs/self-hosting/guides/google-cloud-run.mdx
new file mode 100644
index 0000000000..9496fbeec1
--- /dev/null
+++ b/docs/self-hosting/guides/google-cloud-run.mdx
@@ -0,0 +1,33 @@
+---
+title: "Google Cloud Run"
+description: "Learn how to delpoy Infisical to Google Cloud Run."
+---
+
+This guide will provide step by step instructions on how to self-host Infisical using Cloud Run.
+
+## Configuration
+
+<Steps>
+ <Step title="Get the Infisical Docker image">
+ Visit [Docker Hub](https://hub.docker.com/r/infisical/infisical/tags) and select a version of Infisical image you would like to deploy.
+ Then paste the url of the specific Infisical Docker image you would like to use within the `Container image URL` field.
+
+ ![setting cloud run docker image](/images/self-hosting/guides/google-cloud-run/cloud-run-container-image.png)
+
+ Remember to replace `<version>` with the docker image tag of your choice.
+ </Step>
+ <Step title="Set the environment variables">
+ For a minimal installation of Infisical, you must configure `ENCRYPTION_KEY`, `AUTH_SECRET`, `DB_CONNECTION_URI`, `SITE_URL`, and `REDIS_URL`. [View all available configurations](/self-hosting/configuration/envars).
+
+ You will want to setup Postgres and Redis within Google Cloud Platform to connect to Infisical.
+
+ Once you have added the required environment variables to the `Environment Variables` section within Cloud Run,
+ create the container to get Infisical up and running.
+
+ ![setting container environment variables](/images/self-hosting/guides/google-cloud-run/container-env-vars.png)
+
+ <Warning>
+ The above environment variable values are only to be used as an example and should not be used in production
+ </Warning>
+ </Step>
+</Steps>
\ No newline at end of file