Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

removing unnecessary pm2 nonsense

mngshmce9c08c607c6
diff --git a/docs/docs/self-hosting/guides/web-app.md b/docs/docs/self-hosting/guides/web-app.md
index 18bb95a7c7..a6fe861082 100644
--- a/docs/docs/self-hosting/guides/web-app.md
+++ b/docs/docs/self-hosting/guides/web-app.md
@@ -143,75 +143,6 @@ docker compose up -d # --build
docker compose logs <container-name>
```
-## Without Docker / Docker compose
-
-One way to run all the apps together without Docker is by using
-[PM2](https://pm2.keymetrics.io/) in this setup. The configuration and usage is
-very simple and just needs one configuration file for it. You can run the apps
-both in dev server mode as well as static files.
-
-The below configuration will run the apps in dev server mode.
-
-
-
-### Install PM2
-
-```sh
-npm install pm2@latest
-```
-
-Copy the below contents to a file called `ecosystem.config.js` inside the
-`ente/web` directory.
-
-```js
-module.exports = {
- apps: [
- {
- name: "photos",
- script: "yarn workspace photos next dev",
- env: {
- NODE_ENV: "development",
- PORT: "3000"
- }
- },
- {
- name: "accounts",
- script: "yarn workspace accounts next dev",
- env: {
- NODE_ENV: "development",
- PORT: "3001"
- }
- },
- {
- name: "auth",
- script: "yarn workspace auth next dev",
- env: {
- NODE_ENV: "development",
- PORT: "3002"
- }
- },
- {
- name: "cast",
- script: "yarn workspace cast next dev",
- env: {
- NODE_ENV: "development",
- PORT: "3003"
- }
- }
- ]
-};
-
-```
-
-Finally, start pm2.
-
-```sh
-pm2 start
-
-# for logs
-pm2 logs all
-```
-
## Configure App Endpoints
> [!NOTE]