From f5aeb85c62858a3ccb37c5edd4309233e67298f4 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 08:43:57 -0400 Subject: [PATCH 01/11] rename standalone docker image --- .github/workflows/release-standalone-docker-img.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-standalone-docker-img.yml b/.github/workflows/release-standalone-docker-img.yml index c3279c0d3..a7111694c 100644 --- a/.github/workflows/release-standalone-docker-img.yml +++ b/.github/workflows/release-standalone-docker-img.yml @@ -1,17 +1,11 @@ name: Release standalone docker image -on: - push: - tags: - - "infisical-standalone/v*.*.*" +on: [workflow_dispatch] jobs: infisical-standalone: name: Build infisical standalone image runs-on: ubuntu-latest steps: - - name: Extract version from tag - id: extract_version - run: echo "::set-output name=version::${GITHUB_REF_NAME#infisical/}" - name: ☁️ Checkout source uses: actions/checkout@v3 - name: 📦 Install dependencies to test all dependencies @@ -40,6 +34,7 @@ jobs: push: true context: . tags: | - infisical/standalone-infisical:latest + infisical/infisical:latest + infisical/infisical:${{ steps.commit.outputs.short }} platforms: linux/amd64,linux/arm64 file: Dockerfile.standalone-infisical From f11a7d0f87e5f50e92ecc709ccb212cca46d6ba9 Mon Sep 17 00:00:00 2001 From: akhilmhdh Date: Fri, 5 May 2023 21:56:26 +0530 Subject: [PATCH 02/11] fix(ui): resolved token missing due to cache invalidation --- .../src/components/v2/Popoverv2/Popoverv2.tsx | 2 +- frontend/src/reactQuery.ts | 35 +++++++++++++------ 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/v2/Popoverv2/Popoverv2.tsx b/frontend/src/components/v2/Popoverv2/Popoverv2.tsx index dc180d047..e72791f6b 100644 --- a/frontend/src/components/v2/Popoverv2/Popoverv2.tsx +++ b/frontend/src/components/v2/Popoverv2/Popoverv2.tsx @@ -13,7 +13,7 @@ export const Popover = PopoverPrimitive.Root; export type PopoverContentProps = { children?: ReactNode; hideCloseBtn?: boolean; -} & PopoverPrimitive.PopperContentProps; +} & PopoverPrimitive.PopoverContentProps; export const PopoverContent = ({ children, diff --git a/frontend/src/reactQuery.ts b/frontend/src/reactQuery.ts index 94616dd3f..8c1a85e6a 100644 --- a/frontend/src/reactQuery.ts +++ b/frontend/src/reactQuery.ts @@ -9,24 +9,37 @@ export const queryClient = new QueryClient({ defaultOptions: { queries: { refetchOnWindowFocus: false, - retry: 1, - cacheTime: 1200000 + retry: 1 } } }); +// memory token storage will be moved to apiRequest module until securityclient is completely depreciated +// then all the getters will be also hidden scoped to apiRequest only +const MemoryTokenStorage = () => { + let authToken: string; + + return { + setToken: (token: string) => { + authToken = token; + }, + getToken: () => authToken + }; +}; + +const signUpTempTokenStorage = MemoryTokenStorage(); +const mfaAuthTokenStorage = MemoryTokenStorage(); +const authTokenStorage = MemoryTokenStorage(); + // set token in memory cache -export const setSignupTempToken = (token: string) => - queryClient.setQueryData(SIGNUP_TEMP_TOKEN_CACHE_KEY, token); +export const setSignupTempToken = signUpTempTokenStorage.setToken; -export const setMfaTempToken = (token: string) => - queryClient.setQueryData(MFA_TEMP_TOKEN_CACHE_KEY, token); +export const setMfaTempToken = mfaAuthTokenStorage.setToken; -export const setAuthToken = (token: string) => - queryClient.setQueryData(AUTH_TOKEN_CACHE_KEY, token); +export const setAuthToken = authTokenStorage.setToken; -export const getSignupTempToken = () => queryClient.getQueryData(SIGNUP_TEMP_TOKEN_CACHE_KEY) as string; -export const getMfaTempToken = () => queryClient.getQueryData(MFA_TEMP_TOKEN_CACHE_KEY) as string; -export const getAuthToken = () => queryClient.getQueryData(AUTH_TOKEN_CACHE_KEY) as string; +export const getSignupTempToken = signUpTempTokenStorage.getToken; +export const getMfaTempToken = mfaAuthTokenStorage.getToken; +export const getAuthToken = authTokenStorage.getToken; export const isLoggedIn = () => Boolean(getAuthToken()); From 379f086828104bde631ac56a98af401d80bab50f Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 14:28:25 -0400 Subject: [PATCH 03/11] add render IaC --- render.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 render.yaml diff --git a/render.yaml b/render.yaml new file mode 100644 index 000000000..f55a620ac --- /dev/null +++ b/render.yaml @@ -0,0 +1,26 @@ +services: + - type: web + name: infisical + env: docker + dockerfilePath: ./Dockerfile.standalone-infisical + autoDeploy: false + healthCheckPath: /api/status + repo: https://github.com/Infisical/infisical.git + envVars: + - fromGroup: backend-environment-variables + +envVarGroups: + - name: backend-environment-variables + envVars: + - key: ENCRYPTION_KEY + generateValue: true + - key: JWT_SIGNUP_SECRET + generateValue: true + - key: JWT_REFRESH_SECRET + generateValue: true + - key: JWT_SERVICE_SECRET + generateValue: true + - key: JWT_AUTH_SECRET + generateValue: true + - key: MONGO_URL + generateValue: false From b615a5084e86dfd7dfdc8ef73107dcf2e8cf7497 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 14:31:11 -0400 Subject: [PATCH 04/11] update render IaC template --- render.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/render.yaml b/render.yaml index f55a620ac..84e6296f9 100644 --- a/render.yaml +++ b/render.yaml @@ -6,11 +6,6 @@ services: autoDeploy: false healthCheckPath: /api/status repo: https://github.com/Infisical/infisical.git - envVars: - - fromGroup: backend-environment-variables - -envVarGroups: - - name: backend-environment-variables envVars: - key: ENCRYPTION_KEY generateValue: true From d097003e9beb05e2f66002409205d0dab2016fcc Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 14:37:24 -0400 Subject: [PATCH 05/11] set sync=false for mongo db url render --- render.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.yaml b/render.yaml index 84e6296f9..ef7614d3a 100644 --- a/render.yaml +++ b/render.yaml @@ -18,4 +18,4 @@ services: - key: JWT_AUTH_SECRET generateValue: true - key: MONGO_URL - generateValue: false + sync: false From d4aa75a182bb288109d0d94c7996e707bf68be04 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 15:42:41 -0400 Subject: [PATCH 06/11] update self hosting docs layout --- docs/mint.json | 14 +- .../deployment-options/aws-ec2.mdx | 17 ++ .../digital-ocean-marketplace.mdx | 6 + .../deployment-options/docker-compose.mdx | 42 +++++ .../deployment-options/fly.io.mdx | 60 +++++++ .../deployment-options/kubernetes-helm.mdx | 35 ++++ .../deployment-options/render.mdx | 15 ++ .../standalone-infisical.mdx | 6 + docs/self-hosting/overview.mdx | 162 +++--------------- 9 files changed, 220 insertions(+), 137 deletions(-) create mode 100644 docs/self-hosting/deployment-options/aws-ec2.mdx create mode 100644 docs/self-hosting/deployment-options/digital-ocean-marketplace.mdx create mode 100644 docs/self-hosting/deployment-options/docker-compose.mdx create mode 100644 docs/self-hosting/deployment-options/fly.io.mdx create mode 100644 docs/self-hosting/deployment-options/kubernetes-helm.mdx create mode 100644 docs/self-hosting/deployment-options/render.mdx create mode 100644 docs/self-hosting/deployment-options/standalone-infisical.mdx diff --git a/docs/mint.json b/docs/mint.json index 0d395a6a5..9e982881f 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -116,7 +116,19 @@ { "group": "Self-host Infisical", "pages": [ - "self-hosting/overview", + { + "group": "Deployment options", + "pages": [ + "self-hosting/overview", + "self-hosting/deployment-options/kubernetes-helm", + "self-hosting/deployment-options/aws-ec2", + "self-hosting/deployment-options/docker-compose", + "self-hosting/deployment-options/fly.io", + "self-hosting/deployment-options/render", + "self-hosting/deployment-options/standalone-infisical", + "self-hosting/deployment-options/digital-ocean-marketplace" + ] + }, "self-hosting/configuration/envars", "self-hosting/configuration/email", "self-hosting/faq" diff --git a/docs/self-hosting/deployment-options/aws-ec2.mdx b/docs/self-hosting/deployment-options/aws-ec2.mdx new file mode 100644 index 000000000..e5a3c7750 --- /dev/null +++ b/docs/self-hosting/deployment-options/aws-ec2.mdx @@ -0,0 +1,17 @@ +--- +title: "AWS EC2" +description: "Learn to install Infisical on EC2 using Cloud Formation template" +--- + + +This deployment option will use AWS Cloudformation to auto deploy an instance of Infisical on a single EC2 via Docker Compose. + +**Resources that will be provisioned** +- 1 EC2 instance +- 1 DocumentDB cluster +- 1 DocumentDB instance +- Security groups + + + + \ No newline at end of file diff --git a/docs/self-hosting/deployment-options/digital-ocean-marketplace.mdx b/docs/self-hosting/deployment-options/digital-ocean-marketplace.mdx new file mode 100644 index 000000000..679522a45 --- /dev/null +++ b/docs/self-hosting/deployment-options/digital-ocean-marketplace.mdx @@ -0,0 +1,6 @@ +--- +title: "Digital Ocean" +description: "Learn to install Infisical on Digital Ocean" +--- + +Documentation coming soon \ No newline at end of file diff --git a/docs/self-hosting/deployment-options/docker-compose.mdx b/docs/self-hosting/deployment-options/docker-compose.mdx new file mode 100644 index 000000000..ca2219344 --- /dev/null +++ b/docs/self-hosting/deployment-options/docker-compose.mdx @@ -0,0 +1,42 @@ +--- +title: "Docker Compose" +description: "Learn to install Infisical using our Docker Compose template" +--- + +1. Install Docker on your VM + +```bash +# Example in ubuntu +apt-get update +apt-get upgrade +apt install docker-compose +``` + +2. Download the required files + +```bash +# Download env file template +wget -O .env https://raw.githubusercontent.com/Infisical/infisical/main/.env.example + +# Download docker compose template +wget -O docker-compose.yml https://raw.githubusercontent.com/Infisical/infisical/main/docker-compose.yml + +# Download nginx config +mkdir nginx && wget -O ./nginx/default.conf https://raw.githubusercontent.com/Infisical/infisical/main/nginx/default.dev.conf +``` + +3. Tweak the `.env` according to your preferences. Refer to the available [environment variables](/self-hosting/configuration/envars) + +```bash +# update environment variables like mongo login +nano .env +``` + +4. Get the service up and running. + +```bash +# Start up services in detached mode +docker-compose -f docker-compose.yml up -d +``` + +5. Your Infisical installation is complete and should be running on [http://localhost:80](http://localhost:80). Please note that the containers are not exposed to the internet and only bind to the localhost. It's up to you to configure a firewall, SSL certificates, and implement any additional security measures. diff --git a/docs/self-hosting/deployment-options/fly.io.mdx b/docs/self-hosting/deployment-options/fly.io.mdx new file mode 100644 index 000000000..7099e572a --- /dev/null +++ b/docs/self-hosting/deployment-options/fly.io.mdx @@ -0,0 +1,60 @@ +--- +title: "Fly.io" +description: "Learn to install Infisical on Fly.io" +--- + +**Prerequisites** +- Familiar with Fly.io deployment +- Logged in via fly CLI + +#### 1. Make a copy of the deployment config +To begin, you'll to make a copy of the following file on your local machine + +```toml fly.toml +# fly.toml app configuration file generated for infisical on 2023-05-05T08:57:03-04:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = "infisical" +primary_region = "iad" + +[build] + image = "infisical/infisical:latest" + +[env] + ENCRYPTION_KEY = <> + JWT_AUTH_SECRET = <> + JWT_REFRESH_SECRET = <> + JWT_SERVICE_SECRET = <> + JWT_SIGNUP_SECRET = <> + MONGO_URL = <> + +[http_service] + internal_port = 80 + +``` + +#### 2. Add JWT and encryption key + +Before we can deploy Infisical, we'll need to provide values for the keys under `[env]` config block. For each of the following keys + +- `ENCRYPTION_KEY` +- `JWT_AUTH_SECRET` +- `JWT_REFRESH_SECRET` +- `JWT_SERVICE_SECRET` +- `JWT_SIGNUP_SECRET` + +you will need to generate a random 16 byte hex string. This can can be generated with `openssl rand -hex 16`. + + +Lastly, the `MONGO_URL` environment variable requires a document database connection URL. +You can obtain this URL by creating a document database using services such as [MongoDB](https://www.mongodb.com/), [AWS DocumentDB](https://aws.amazon.com/documentdb/), and others. + +#### 3. Deploy + +Run `fly launch` in the directory where you have the local version of config from step 1 and follow the instructions. +Once done, your very own instance of Infisical should be up and running on Fly.io. + +Please note that this version of Infisical requires at least 250MB of memory to operate smoothly. + diff --git a/docs/self-hosting/deployment-options/kubernetes-helm.mdx b/docs/self-hosting/deployment-options/kubernetes-helm.mdx new file mode 100644 index 000000000..30e637807 --- /dev/null +++ b/docs/self-hosting/deployment-options/kubernetes-helm.mdx @@ -0,0 +1,35 @@ +--- +title: "Kubernetes via Helm Chart" +description: "Use our Helm chart to Install Infisical on your Kubernetes cluster" +--- + + +**Prerequisites** +- You have understanding of [Kubernetes](https://kubernetes.io/) +- Installed [Helm package manager](https://helm.sh/) version v3.11.3 or greater +- You have [kubectl](https://kubernetes.io/docs/reference/kubectl/kubectl/) installed and connected to your kubernetes cluster + + +#### 1. Install Infisical Helm repository + +```bash +helm repo add infisical-helm-charts 'https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/' + +helm repo update +``` + +#### 2. Install the Helm chart + +By default, the helm chart will be installed on your default namespace. If you wish to install the Chart on a different namespace, you may specify +that by adding the `--namespace ` to your `helm install` command. + +```bash +## Installs to default namespace +helm install infisical-helm-charts/infisical --generate-name +``` + +#### 3. Access Infisical +Allow 3-5 minutes for the deployment to complete. Once done, you should now be able to access Infisical on the IP address exposed via Ingress on your load balancer. If you are not sure what the IP address is run `kubectl get ingress` to view the external IP address exposing Infisical. + +#### Custom configuration +To configure environment variables, database and deployments, you'll need to set the parameters in a `values.yaml` file. To view all available parameters [visit here](https://github.com/Infisical/infisical/tree/main/helm-charts/infisical#parameters) diff --git a/docs/self-hosting/deployment-options/render.mdx b/docs/self-hosting/deployment-options/render.mdx new file mode 100644 index 000000000..6c253a874 --- /dev/null +++ b/docs/self-hosting/deployment-options/render.mdx @@ -0,0 +1,15 @@ +--- +title: "Render.com" +description: "Learn to install Infisical Render.com" +--- + +**Prerequisites** +- An account at Render.com +- A document DB instance + +Deploying on Render is one of the quickest ways to have Infisical running in production. +Before you start deployment, you will need to obtain document db connection string. This will be used for `MONGO_URL` environment variable required during installation. + +You can create a document db database using services such as [MongoDB](https://www.mongodb.com/), [AWS DocumentDB](https://aws.amazon.com/documentdb/), and others. Once done, click the link below to start deployment. + +### **[Deploy to Render](https://render.com/deploy?repo=https://github.com/Infisical/infisical)** \ No newline at end of file diff --git a/docs/self-hosting/deployment-options/standalone-infisical.mdx b/docs/self-hosting/deployment-options/standalone-infisical.mdx new file mode 100644 index 000000000..b338c708a --- /dev/null +++ b/docs/self-hosting/deployment-options/standalone-infisical.mdx @@ -0,0 +1,6 @@ +--- +title: "Docker" +description: "Learn to install Infisical purely on docker" +--- + +Documentation coming soon \ No newline at end of file diff --git a/docs/self-hosting/overview.mdx b/docs/self-hosting/overview.mdx index 8866aa8b3..8b2d6ae12 100644 --- a/docs/self-hosting/overview.mdx +++ b/docs/self-hosting/overview.mdx @@ -1,142 +1,32 @@ --- -title: "Deployment options" +title: "Introduction" description: "Explore deployment options for self hosting Infisical" --- To meet various compliance requirements, you may want to self-host Infisical instead of using [Infisical Cloud](https://app.infisical.com/). -Self-hosted Infisical allows you to maintain your sensitive information within your own infrastructure and network, ensuring complete control over your data. +Self-hosted Infisical allows you to maintain your sensitive information within your own infrastructure and network, ensuring complete control over your data. +Choose from a variety of deployment options listed below to get started. - - - ## Setup and launch Infisical - - Make sure you have Git and Docker installed and follow the instructions for your system. - - - - Run the following command to clone, prepare, and start up Infisical: - - ```console - git clone https://github.com/Infisical/infisical && cd "$(basename $_ .git)" && cp .env.example .env && docker-compose -f docker-compose.dev.yml up --build - ``` - - - Run the following command to clone, prepare, and start up Infisical: - - ```console - git clone https://github.com/Infisical/infisical && cd infisical && copy .env.example .env && docker-compose -f docker-compose.dev.yml up --build - ``` - - - Clone the repository back to your machine. - - ```console - git clone https://github.com/Infisical/infisical - ``` - - Navigate into the root of the repository create a new `.env` file containing the contents of the [.env.example file](https://github.com/Infisical/infisical/blob/main/.env.example). - - Finally run `docker-compose up` to start up Infisical. - - ```console - docker-compose -f docker-compose.dev.yml up --build - ``` - - - Login to the web app at `http://localhost:8080` by entering the test user email `test@localhost.local` and password `testInfisical1`. - - - - This deployment option will use AWS Cloudformation to auto deploy an instance of Infisical on a single EC2 via Docker Compose. - - **Resources that will be provisioned** - - 1 EC2 instance - - 1 DocumentDB cluster - - 1 DocumentDB instance - - Security groups - - - - - - - - This deployment option is highly available - Coming soon - - - This deployment option is highly available - - - **Prerequisites** - - You have understanding of [Kubernetes](https://kubernetes.io/) - - Installed [Helm package manager](https://helm.sh/) version v3.11.3 or greater - - You have [kubectl](https://kubernetes.io/docs/reference/kubectl/kubectl/) installed and connected to your kubernetes cluster - - - #### 1. Install Infisical Helm repository - - ```bash - helm repo add infisical-helm-charts 'https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/' - - helm repo update - ``` - - #### 2. Install the Helm chart - - By default, the helm chart will be installed on your default namespace. If you wish to install the Chart on a different namespace, you may specify - that by adding the `--namespace ` to your `helm install` command. - - ```bash - ## Installs to default namespace - helm install infisical-helm-charts/infisical --generate-name - ``` - - #### 3. Access Infisical - Allow 3-5 minutes for the deployment to complete. Once done, you should now be able to access Infisical on the IP address exposed via Ingress on your load balancer. If you are not sure what the IP address is run `kubectl get ingress` to view the external IP address exposing Infisical. - - #### Custom configuration - To configure environment variables, database and deployments, you'll need to set the parameters in a `values.yaml` file. To view all available parameters [visit here](https://github.com/Infisical/infisical/tree/main/helm-charts/infisical#parameters) - - - - 1. Install Docker on your VM - - ```bash - # Example in ubuntu - apt-get update - apt-get upgrade - apt install docker-compose - ``` - - 2. Download the required files - - ```bash - # Download env file template - wget -O .env https://raw.githubusercontent.com/Infisical/infisical/main/.env.example - - # Download docker compose template - wget -O docker-compose.yml https://raw.githubusercontent.com/Infisical/infisical/main/docker-compose.yml - - # Download nginx config - mkdir nginx && wget -O ./nginx/default.conf https://raw.githubusercontent.com/Infisical/infisical/main/nginx/default.dev.conf - ``` - - 3. Tweak the `.env` according to your preferences. Refer to the available [environment variables](/self-hosting/configuration/envars) - - ```bash - # update environment variables like mongo login - nano .env - ``` - - 4. Get the service up and running. - - ```bash - # Start up services in detached mode - docker-compose -f docker-compose.yml up -d - ``` - - 5. Your Infisical installation is complete and should be running on [http://localhost:80](http://localhost:80). Please note that the containers are not exposed to the internet and only bind to the localhost. It's up to you to configure a firewall, SSL certificates, and implement any additional security measures. - - - + + Use our Helm chart to Install Infisical on your Kubernetes cluster + + + + Use our standalone docker image to deploy on Fly.io + + + Install on Render using our standalone docker image + + + Install infisical with just a few clicks using our Cloud Formation template + + + Use our one click installer to deploy Infisical + + + Install Infisical using our Docker Compose template + + + Use the fully packaged, single docker image Infisical to deploy anywhere + + \ No newline at end of file From da127a3c0a1449b11cb821a82cec7127ab215ccd Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 15:48:03 -0400 Subject: [PATCH 07/11] update step 2 of fly.io --- docs/self-hosting/deployment-options/fly.io.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/self-hosting/deployment-options/fly.io.mdx b/docs/self-hosting/deployment-options/fly.io.mdx index 7099e572a..ba6f7880a 100644 --- a/docs/self-hosting/deployment-options/fly.io.mdx +++ b/docs/self-hosting/deployment-options/fly.io.mdx @@ -35,7 +35,7 @@ primary_region = "iad" ``` -#### 2. Add JWT and encryption key +#### 2. Add environment variables Before we can deploy Infisical, we'll need to provide values for the keys under `[env]` config block. For each of the following keys From 8b42f4f9986db9c5f1b859200bf6b4eeaae5e35c Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 15:50:19 -0400 Subject: [PATCH 08/11] typo in doc --- docs/self-hosting/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/self-hosting/overview.mdx b/docs/self-hosting/overview.mdx index 8b2d6ae12..1c8ffdd78 100644 --- a/docs/self-hosting/overview.mdx +++ b/docs/self-hosting/overview.mdx @@ -14,7 +14,7 @@ Choose from a variety of deployment options listed below to get started. Use our standalone docker image to deploy on Fly.io - + Install on Render using our standalone docker image From d8a781af1f470311ea1a62905a6be361abf42949 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 16:06:28 -0400 Subject: [PATCH 09/11] remove health check --- docs/self-hosting/overview.mdx | 4 ++-- render.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/self-hosting/overview.mdx b/docs/self-hosting/overview.mdx index 1c8ffdd78..6454b8a5a 100644 --- a/docs/self-hosting/overview.mdx +++ b/docs/self-hosting/overview.mdx @@ -23,10 +23,10 @@ Choose from a variety of deployment options listed below to get started. Use our one click installer to deploy Infisical - + Install Infisical using our Docker Compose template - + Use the fully packaged, single docker image Infisical to deploy anywhere \ No newline at end of file diff --git a/render.yaml b/render.yaml index ef7614d3a..8dde73c8f 100644 --- a/render.yaml +++ b/render.yaml @@ -4,7 +4,7 @@ services: env: docker dockerfilePath: ./Dockerfile.standalone-infisical autoDeploy: false - healthCheckPath: /api/status + # healthCheckPath: /api/status repo: https://github.com/Infisical/infisical.git envVars: - key: ENCRYPTION_KEY From 2eff7b6128a9241537395a76c193280ed559ef55 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 5 May 2023 16:26:03 -0400 Subject: [PATCH 10/11] set internal port for render --- render.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render.yaml b/render.yaml index 8dde73c8f..d73c9e590 100644 --- a/render.yaml +++ b/render.yaml @@ -19,3 +19,5 @@ services: generateValue: true - key: MONGO_URL sync: false + - key: PORT + value: 443 From db07a033e175bc514563aa62e57d99bfa4e154fd Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Sat, 6 May 2023 22:19:00 +0300 Subject: [PATCH 11/11] Add filter query param to getApps for Netlify integration --- backend/src/integrations/apps.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/integrations/apps.ts b/backend/src/integrations/apps.ts index 5feb5e6d8..a748f199f 100644 --- a/backend/src/integrations/apps.ts +++ b/backend/src/integrations/apps.ts @@ -205,6 +205,7 @@ const getAppsNetlify = async ({ accessToken }: { accessToken: string }) => { const params = new URLSearchParams({ page: String(page), per_page: String(perPage), + filter: 'all' }); const { data } = await request.get(