From a8fbca6625d23750e4639cbcdc72856ee32ad4fe Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Sun, 20 Nov 2022 12:49:32 -0500 Subject: [PATCH] Update self-hosting docs --- README.md | 4 ++-- docker-compose.yml | 5 +++++ docs/self-hosting/deployments/linux.mdx | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ead6c744ae..e964264d90 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@

Infisical Cloud | - Self-Hosting | + Self-Hosting | Docs | Website

@@ -35,7 +35,7 @@ - **Navigate Multiple Environments** per project (e.g. development, staging, production, etc.) - **Personal/Shared** scoping for environment variables - **[Integrations](https://infisical.com/docs/Heroku)** with CI/CD and production infrastructure (Heroku available, more coming soon) -- 🔜 **[1-Click Deploy](https://infisical.com/docs/linux)** to Digital Ocean and Heroku +- 🔜 **1-Click Deploy** to Digital Ocean and Heroku - 🔜 **Authentication/Authorization** for projects (read/write controls soon) - 🔜 **Automatic Secret Rotation** - 🔜 **2FA** diff --git a/docker-compose.yml b/docker-compose.yml index c42f5f6d09..6d1dcebca9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,6 +62,11 @@ services: - mongo-data:/data/db networks: - infisical + + watchtower: + image: containrrr/watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock volumes: mongo-data: diff --git a/docs/self-hosting/deployments/linux.mdx b/docs/self-hosting/deployments/linux.mdx index 282dacc38c..a0c59d0e49 100644 --- a/docs/self-hosting/deployments/linux.mdx +++ b/docs/self-hosting/deployments/linux.mdx @@ -33,7 +33,7 @@ wget -O .env https://raw.githubusercontent.com/Infisical/infisical/main/.env.exa wget -O docker-compose.yml https://raw.githubusercontent.com/Infisical/infisical/main/docker-compose.yml # Download nginx config -mkdir nginx && cd nginx && wget -O https://raw.githubusercontent.com/Infisical/infisical/main/nginx/default.conf +mkdir nginx && cd nginx && wget -O default.conf https://raw.githubusercontent.com/Infisical/infisical/main/nginx/default.conf cd .. ``` @@ -48,7 +48,7 @@ nano .env ```bash # Start up services in detached mode -docker-compose -f docker-compose.prod.yml up -d +docker-compose -f docker-compose.yml up -d ``` 5. Your Infisical installation is complete and should be running on ports 40 and 443. 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.