Merge pull request #546 from Infisical/update-docs

Add local machine to deployment options
This commit is contained in:
BlackMagiq
2023-05-01 16:04:11 +03:00
committed by GitHub
4 changed files with 45 additions and 8 deletions
+5 -7
View File
@@ -31,13 +31,11 @@ MONGO_PASSWORD=example
SITE_URL=http://localhost:8080 SITE_URL=http://localhost:8080
# Mail/SMTP # Mail/SMTP
SMTP_HOST= SMTP_HOST='smtp-server'
SMTP_USERNAME= SMTP_PORT='1025'
SMTP_PASSWORD= SMTP_NAME='local'
SMTP_PORT=587 SMTP_USERNAME='[email protected]'
SMTP_SECURE=false SMTP_PASSWORD=
SMTP_FROM_ADDRESS=
SMTP_FROM_NAME=Infisical
# Integration # Integration
# Optional only if integration is used # Optional only if integration is used
+1
View File
@@ -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 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 ## Open-source vs. paid
+1 -1
View File
@@ -114,7 +114,7 @@
] ]
}, },
{ {
"group": "Self-hosting", "group": "Deploy Infisical",
"pages": [ "pages": [
"self-hosting/overview", "self-hosting/overview",
"self-hosting/configuration/envars", "self-hosting/configuration/envars",
+38
View File
@@ -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. Self-hosted Infisical allows you to maintain your sensitive information within your own infrastructure and network, ensuring complete control over your data.
<Tabs> <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"> <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> <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. This deployment option will use AWS Cloudformation to auto deploy an instance of Infisical on a single EC2 via Docker Compose.