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..d8f7f2a2a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,9 +21,6 @@ services: restart: unless-stopped depends_on: - mongo - build: - context: ./backend - dockerfile: Dockerfile image: infisical/backend volumes: - ./backend/src:/app/src @@ -40,9 +37,6 @@ services: restart: unless-stopped depends_on: - backend - build: - context: ./frontend - dockerfile: Dockerfile.prod image: infisical/frontend volumes: - ./frontend/pages:/app/pages @@ -62,6 +56,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.