Skip to content

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

Add local machine to deployment options

Tuan Dange888eed1bff7
diff --git a/.env.example b/.env.example
index df316753e4..f317b2908f 100644
--- a/.env.example
+++ b/.env.example
@@ -31,13 +31,11 @@ MONGO_PASSWORD=example
SITE_URL=http://localhost:8080
# Mail/SMTP
-SMTP_HOST=
-SMTP_USERNAME=
-SMTP_PASSWORD=
-SMTP_PORT=587
-SMTP_SECURE=false
-SMTP_FROM_ADDRESS=
-SMTP_FROM_NAME=Infisical
+ SMTP_HOST='smtp-server'
+SMTP_PORT='1025'
+SMTP_NAME='local'
+SMTP_USERNAME='[email protected]'
+SMTP_PASSWORD=
# Integration
# Optional only if integration is used
diff --git a/README.md b/README.md
index a19f1df90f..1f7d85307f 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,7 @@ Windows Command Prompt:
git clone https://github.com/Infisical/infisical && cd infisical && copy .env.example .env && docker-compose -f docker-compose.dev.yml up --build
```
+Login to the web app at `http://localhost:8080` by entering the test user email `[email protected]` and password `testInfisical1`.
## Open-source vs. paid
diff --git a/docs/mint.json b/docs/mint.json
index bdecac7663..fa6b215768 100644
--- a/docs/mint.json
+++ b/docs/mint.json
@@ -114,7 +114,7 @@
]
},
{
- "group": "Self-hosting",
+ "group": "Deploy Infisical",
"pages": [
"self-hosting/overview",
"self-hosting/configuration/envars",
diff --git a/docs/self-hosting/overview.mdx b/docs/self-hosting/overview.mdx
index 8acdad9748..d2e076505d 100644
--- a/docs/self-hosting/overview.mdx
+++ b/docs/self-hosting/overview.mdx
@@ -7,6 +7,44 @@ To meet various compliance requirements, you may want to self-host Infisical ins
Self-hosted Infisical allows you to maintain your sensitive information within your own infrastructure and network, ensuring complete control over your data.
<Tabs>
+ <Tab title="Local machine">
+ ## Setup and launch Infisical
+
+ Make sure you have Git and Docker installed and follow the instructions for your system.
+
+ <Tabs>
+ <Tab title="Linux/macOS">
+ 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
+ ```
+ </Tab>
+ <Tab title="Windows Command Prompt">
+ 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
+ ```
+ </Tab>
+ <Tab title="Other">
+ 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
+ ```
+ </Tab>
+ </Tabs>
+ Login to the web app at `http://localhost:8080` by entering the test user email `[email protected]` and password `testInfisical1`.
+ </Tab>
<Tab title="Quick deploy AWS">
<iframe width="560" height="315" src="https://www.youtube.com/embed/jR-gM7vIY2c" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
This deployment option will use AWS Cloudformation to auto deploy an instance of Infisical on a single EC2 via Docker Compose.