Compare commits

..

8 Commits

Author SHA1 Message Date
6946f3901c fix scrolling issue in rotation modal 2024-02-26 00:03:41 -08:00
82a7010e29 Update envars.mdx 2024-02-25 14:47:04 -05:00
a1e763fa28 Update kubernetes-helm.mdx 2024-02-25 14:42:10 -05:00
0992117173 add pull policy to docker compose 2024-02-25 14:12:19 -05:00
9419884a26 Merge pull request #1468 from radhakrisri/main
Wait for db service to be healthy before kicking off db-migration and backend services
2024-02-25 14:10:44 -05:00
850f3a347c Wait for db service to be healthy before kicking off db-migration and backend services 2024-02-25 12:33:42 -06:00
fdd79c0568 Update kubernetes-helm.mdx 2024-02-23 21:41:48 -05:00
4ef8abdb00 Merge pull request #1460 from Infisical/postgres-helm
Add helm chart with postgres + many other docs changes
2024-02-23 21:25:12 -05:00
4 changed files with 15 additions and 7 deletions

View File

@ -4,10 +4,12 @@ services:
db-migration: db-migration:
container_name: infisical-db-migration container_name: infisical-db-migration
depends_on: depends_on:
- db db:
condition: service_healthy
image: infisical/infisical:latest-postgres image: infisical/infisical:latest-postgres
env_file: .env env_file: .env
command: npm run migration:latest command: npm run migration:latest
pull_policy: always
networks: networks:
- infisical - infisical
@ -16,12 +18,13 @@ services:
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
db: db:
condition: service_started condition: service_healthy
redis: redis:
condition: service_started condition: service_started
db-migration: db-migration:
condition: service_completed_successfully condition: service_completed_successfully
image: infisical/infisical:latest-postgres image: infisical/infisical:latest-postgres
pull_policy: always
env_file: .env env_file: .env
ports: ports:
- 80:8080 - 80:8080
@ -52,6 +55,11 @@ services:
- pg_data:/data/db - pg_data:/data/db
networks: networks:
- infisical - infisical
healthcheck:
test: "pg_isready --username=${POSTGRES_USER} && psql --username=${POSTGRES_USER} --list"
interval: 5s
timeout: 10s
retries: 10
volumes: volumes:
pg_data: pg_data:

View File

@ -4,7 +4,7 @@ description: "Configure environment variables for self-hosted Infisical"
--- ---
Infisical accepts all configurations via environment variables. For a basic self-hosted instance, at least `ENCRYPTION_KEY`, `AUTH_SECRET`, `DB_CONNECTION_URI` and `REDIS_URL` must be defined. Infisical accepts all configurations via environment variables. For a minimal self-hosted instance, at least `ENCRYPTION_KEY`, `AUTH_SECRET`, `DB_CONNECTION_URI` and `REDIS_URL` must be defined.
However, you can configure additional settings to activate more features as needed. However, you can configure additional settings to activate more features as needed.
## General platform ## General platform

View File

@ -166,7 +166,7 @@ description: "Use Helm chart to install Infisical on your Kubernetes cluster"
<Step title="Access Infisical"> <Step title="Access Infisical">
After deployment, please wait for 2-5 minutes for all pods to reach a running state. Once a significant number of pods are operational, access the IP address revealed through Ingress by your load balancer. After deployment, please wait for 2-5 minutes for all pods to reach a running state. Once a significant number of pods are operational, access the IP address revealed through Ingress by your load balancer.
You can find the IP address/hostname by executing the command `kubectl get ingress`. You can find the IP address/hostname by executing the command `kubectl get ingress`.
![self host sign up](images/self-hosting/applicable-to-all/selfhost-signup.png) ![infisical-selfhost](images/self-hosting/applicable-to-all/selfhost-signup.png)
</Step> </Step>
<Step title="Upgrade your instance"> <Step title="Upgrade your instance">
To upgrade your instance of Infisical simply update the docker image tag in your Halm values and rerun the command below. To upgrade your instance of Infisical simply update the docker image tag in your Halm values and rerun the command below.
@ -176,7 +176,7 @@ description: "Use Helm chart to install Infisical on your Kubernetes cluster"
``` ```
<Tip> <Tip>
Always back up your database before each upgrade, especially in a production environment Always back up your database before each upgrade, especially in a production environment.
</Tip> </Tip>
</Step> </Step>

View File

@ -90,7 +90,7 @@ export const CreateRotationForm = ({
<ModalContent <ModalContent
title={`Secret rotation for ${provider.name}`} title={`Secret rotation for ${provider.name}`}
subTitle="Provide the required inputs needed for the rotation" subTitle="Provide the required inputs needed for the rotation"
className="max-w-2xl" className="max-w-2xl max-h-screen overflow-scroll my-4"
> >
<Stepper activeStep={wizardStep} direction="horizontal" className="mb-4"> <Stepper activeStep={wizardStep} direction="horizontal" className="mb-4">
{WIZARD_STEPS.map(({ title, description }, index) => ( {WIZARD_STEPS.map(({ title, description }, index) => (