From d15a0348693f07eefa18600fb03c55077dcaf721 Mon Sep 17 00:00:00 2001 From: mngshm Date: Wed, 7 May 2025 19:09:07 +0530 Subject: [PATCH] consistency (2) --- docs/docs/self-hosting/faq/environment.md | 24 ++++++++++++----------- docs/docs/self-hosting/museum.md | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/docs/self-hosting/faq/environment.md b/docs/docs/self-hosting/faq/environment.md index 568ae63031..5ffb38d12d 100644 --- a/docs/docs/self-hosting/faq/environment.md +++ b/docs/docs/self-hosting/faq/environment.md @@ -6,15 +6,15 @@ description: "Information about all the Environment Variables needed to run Ente # Environment variables and ports A self-hosted Ente instance requires specific endpoints in both Museum (the server) and web apps. This document outlines the essential environment variables and port mappings of the web apps. -Here's the list of important variables that the self hoster should know about: +Here's the list of important variables that a self hoster should know about: ### Museum 1. `NEXT_PUBLIC_ENTE_ENDPOINT` -The above endpoint is used to configure Museums endpoint. Where Museum is running -and which port it is listening on. This endpoint should be configured for all the -apps to connect to your self hosted endpoint. +The above environment variable is used to configure Museums endpoint. Where Museum is +running and which port it is listening on. This endpoint should be configured for +all the apps to connect to your self hosted endpoint. All the apps (regardless of platform) by default connect to api.ente.io - which is our production instance of Museum. @@ -27,21 +27,23 @@ our production instance of Museum. > Checkout [Configuring your Server](/self-hosting/museum) to configure endpoints for > particular app. -In Ente, all the web apps are separate NextJS applications. Therefore, they are all configured via environment variables. The photos app (Ente Photos) has information about and connects to other web apps like albums, cast, etc. +In Ente, all the web apps are separate NextJS applications. Therefore, they are all +configured via environment variables. The photos app (Ente Photos) has information +about and connects to other web apps like albums, cast, etc. 1. `NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT` This environment variable is used to configure and declare the endpoint for the Albums -Web App. +web app. ## Ports The below format is according to how ports are mapped in Docker. Typically,`:` -1. `8080:8080`: Museum (Ente's Server) -2. `3000:3000`: Ente Photos Web App -3. `3001:3001`: Ente Accounts Web App -4. `3003:3003`: [Ente Auth](https://ente.io/auth/) -5. `3004:3004`: [Ente Cast Web App](http://ente.io/cast) +1. `8080:8080`: Museum (Ente's server) +2. `3000:3000`: Ente Photos web app +3. `3001:3001`: Ente Accounts web app +4. `3003:3003`: [EEnte Auth](https://ente.io/auth/) +5. `3004:3004`: [Ente Cast web app](http://ente.io/cast) diff --git a/docs/docs/self-hosting/museum.md b/docs/docs/self-hosting/museum.md index b4ee1549d4..f1ef92fa51 100644 --- a/docs/docs/self-hosting/museum.md +++ b/docs/docs/self-hosting/museum.md @@ -74,4 +74,4 @@ functionalities like SMTP, Discord notifications, Hardcoded-OTTs, etc. ## References -- [Environment Variables and Ports](/self-hosting/faq/environment) \ No newline at end of file +- [Environment variables and ports](/self-hosting/faq/environment) \ No newline at end of file