consistency (2)

This commit is contained in:
mngshm
2025-05-07 19:09:07 +05:30
parent 7b3ae417e8
commit d15a034869
2 changed files with 14 additions and 12 deletions

View File

@@ -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,`<host>:<container-port>`
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)

View File

@@ -74,4 +74,4 @@ functionalities like SMTP, Discord notifications, Hardcoded-OTTs, etc.
## References
- [Environment Variables and Ports](/self-hosting/faq/environment)
- [Environment variables and ports](/self-hosting/faq/environment)