From 23c362f9cd794407740b6c5e0c68dce04afc3ba4 Mon Sep 17 00:00:00 2001 From: Thalles Passos Date: Mon, 2 Sep 2024 12:54:00 -0300 Subject: [PATCH 1/5] docs: add mention of SITE_URL as being required --- docs/integrations/cicd/githubactions.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/integrations/cicd/githubactions.mdx b/docs/integrations/cicd/githubactions.mdx index 936c8974a..8aa144744 100644 --- a/docs/integrations/cicd/githubactions.mdx +++ b/docs/integrations/cicd/githubactions.mdx @@ -84,6 +84,7 @@ Prerequisites: - `CLIENT_ID_GITHUB`: The **Client ID** of your GitHub OAuth application. - `CLIENT_SECRET_GITHUB`: The **Client Secret** of your GitHub OAuth application. + - `SITE_URL`: The **Site URL** is the same as your self-hosted domain `https://your-domain.com` Once added, restart your Infisical instance and use the GitHub integration. From 1d23ed06804240f79d1b6279fdcf48b86f56865e Mon Sep 17 00:00:00 2001 From: Thalles Passos Date: Wed, 4 Sep 2024 17:56:38 -0300 Subject: [PATCH 2/5] chore: add site url as required in envars docs --- docs/self-hosting/configuration/envars.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdx index 238415204..3890547a1 100644 --- a/docs/self-hosting/configuration/envars.mdx +++ b/docs/self-hosting/configuration/envars.mdx @@ -20,7 +20,7 @@ Used to configure platform-specific security and operational settings -base64 32` - + Must be an absolute URL including the protocol (e.g. https://app.infisical.com). From 97023e7714bd27ae3d8e262b6f460470161d828f Mon Sep 17 00:00:00 2001 From: Thalles Passos Date: Wed, 4 Sep 2024 17:58:42 -0300 Subject: [PATCH 3/5] chore: add SITE_URL as required in docker installation --- .../self-hosting/deployment-options/standalone-infisical.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/self-hosting/deployment-options/standalone-infisical.mdx b/docs/self-hosting/deployment-options/standalone-infisical.mdx index ab1512612..35beec55c 100644 --- a/docs/self-hosting/deployment-options/standalone-infisical.mdx +++ b/docs/self-hosting/deployment-options/standalone-infisical.mdx @@ -28,7 +28,7 @@ The following guide provides a detailed step-by-step walkthrough on how you can - For a minimal installation of Infisical, you must configure `ENCRYPTION_KEY`, `AUTH_SECRET`, `DB_CONNECTION_URI`, and `REDIS_URL`. [View all available configurations](/self-hosting/configuration/envars). + 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). We recommend using Cloud-based Platform as a Service (PaaS) solutions for PostgreSQL and Redis to ensure high availability. @@ -43,6 +43,7 @@ The following guide provides a detailed step-by-step walkthrough on how you can -e AUTH_SECRET="q6LRi7c717a3DQ8JUxlWYkZpMhG4+RHLoFUVt3Bvo2U=" \ -e DB_CONNECTION_URI="<>" \ -e REDIS_URL="<>" \ + -e SITE_URL="<>" \ infisical/infisical: ``` @@ -59,4 +60,4 @@ The following guide provides a detailed step-by-step walkthrough on how you can ### Additional discussion It's important to note that the above is a basic example of deploying Infisical using Docker. In practice, for production deployments, you may want to use container orchestration platforms such as AWS ECS, Google Cloud Run, or Kubernetes. -These platforms offer additional features like scalability, load balancing, and automated deployment, making them suitable for handling production-level traffic and providing high availability. \ No newline at end of file +These platforms offer additional features like scalability, load balancing, and automated deployment, making them suitable for handling production-level traffic and providing high availability. From 03fd0a1eb9ed526f3cb8978e4d61043a7cce4b51 Mon Sep 17 00:00:00 2001 From: Thalles Passos Date: Wed, 4 Sep 2024 18:03:18 -0300 Subject: [PATCH 4/5] chore: add site url as required in kubernetes helm deployment --- docs/self-hosting/deployment-options/kubernetes-helm.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/self-hosting/deployment-options/kubernetes-helm.mdx b/docs/self-hosting/deployment-options/kubernetes-helm.mdx index 8ba940fee..ac8a098de 100644 --- a/docs/self-hosting/deployment-options/kubernetes-helm.mdx +++ b/docs/self-hosting/deployment-options/kubernetes-helm.mdx @@ -41,7 +41,7 @@ description: "Learn how to use Helm chart to install Infisical on your Kubernete To deploy this Helm chart, a Kubernetes secret named `infisical-secrets` must be present in the same namespace where the chart is being deployed. - For a minimal installation of Infisical, you need to configure `ENCRYPTION_KEY`, `AUTH_SECRET`, `DB_CONNECTION_URI`, and `REDIS_URL`. [Learn more about configuration settings](/self-hosting/configuration/envars). + For a minimal installation of Infisical, you need to configure `ENCRYPTION_KEY`, `AUTH_SECRET`, `DB_CONNECTION_URI`, `SITE_URL`, and `REDIS_URL`. [Learn more about configuration settings](/self-hosting/configuration/envars). @@ -56,6 +56,7 @@ description: "Learn how to use Helm chart to install Infisical on your Kubernete stringData: AUTH_SECRET: <> ENCRYPTION_KEY: <> + SITE_URL: <> ``` @@ -71,6 +72,7 @@ description: "Learn how to use Helm chart to install Infisical on your Kubernete ENCRYPTION_KEY: <> REDIS_URL: <> DB_CONNECTION_URI: <> + SITE_URL: <> ``` From 9bd6ec19c4750cd94aa2a738ecb3da00781742ee Mon Sep 17 00:00:00 2001 From: Thalles Passos Date: Wed, 4 Sep 2024 18:04:25 -0300 Subject: [PATCH 5/5] revert "docs: add mention of SITE_URL as being required" --- docs/integrations/cicd/githubactions.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/integrations/cicd/githubactions.mdx b/docs/integrations/cicd/githubactions.mdx index 8aa144744..936c8974a 100644 --- a/docs/integrations/cicd/githubactions.mdx +++ b/docs/integrations/cicd/githubactions.mdx @@ -84,7 +84,6 @@ Prerequisites: - `CLIENT_ID_GITHUB`: The **Client ID** of your GitHub OAuth application. - `CLIENT_SECRET_GITHUB`: The **Client Secret** of your GitHub OAuth application. - - `SITE_URL`: The **Site URL** is the same as your self-hosted domain `https://your-domain.com` Once added, restart your Infisical instance and use the GitHub integration.