Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unused memories web origin env

Manav Rathid27564edb655
diff --git a/docs/docs/self-hosting/guides/windows.md b/docs/docs/self-hosting/guides/windows.md
index 1f05743590..ade8c96024 100644
--- a/docs/docs/self-hosting/guides/windows.md
+++ b/docs/docs/self-hosting/guides/windows.md
@@ -191,9 +191,6 @@ services:
ENTE_ALBUMS_ORIGIN: http://localhost:3002
# ENTE_ALBUMS_ORIGIN: http://192.168.1.42:3002
# ENTE_ALBUMS_ORIGIN: https://albums.mydomain.com
- ENTE_MEMORIES_ORIGIN: http://localhost:3010
- # ENTE_MEMORIES_ORIGIN: http://192.168.1.42:3010
- # ENTE_MEMORIES_ORIGIN: https://memories.mydomain.com
ENTE_PHOTOS_ORIGIN: http://localhost:3000
# ENTE_PHOTOS_ORIGIN: http://192.168.1.42:3000
# ENTE_PHOTOS_ORIGIN: https://photos.mydomain.com
diff --git a/docs/docs/self-hosting/installation/env-var.md b/docs/docs/self-hosting/installation/env-var.md
index 623461e223..11807dd893 100644
--- a/docs/docs/self-hosting/installation/env-var.md
+++ b/docs/docs/self-hosting/installation/env-var.md
@@ -24,7 +24,6 @@ Here's the list of environment variables that is used by the cluster:
| ---------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------ | ------------------------------- |
| `web` | `ENTE_API_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_ENDPOINT`. API Endpoint for Ente's API (Museum). | http://localhost:8080 |
| `web` | `ENTE_ALBUMS_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT`. Base URL for the Ente Albums app, used for public sharing. | http://localhost:3002 |
-| `web` | `ENTE_MEMORIES_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_MEMORIES_ENDPOINT`. Base URL for the Ente Memories app, used for public memory shares. | http://localhost:3010 |
| `web` | `ENTE_PHOTOS_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_PHOTOS_ENDPOINT`. Base URL for Ente Photos web app. | http://localhost:3000 |
| `postgres` | `POSTGRES_USER` | Username for PostgreSQL database | `pguser` |
| `postgres` | `POSTGRES_DB` | Name of database for use with Ente | `ente_db` |
diff --git a/docs/docs/self-hosting/installation/manual.md b/docs/docs/self-hosting/installation/manual.md
index b1c31e675d..2fa0d585fb 100644
--- a/docs/docs/self-hosting/installation/manual.md
+++ b/docs/docs/self-hosting/installation/manual.md
@@ -190,8 +190,6 @@ Values you used for `database name` and `username` correspond to the values you
export NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080
# Replace this with actual endpoint for Albums
export NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002
- # Replace this with actual endpoint for Memories
- export NEXT_PUBLIC_ENTE_MEMORIES_ENDPOINT=http://localhost:3010
# Replace this with actual endpoint for Photos
export NEXT_PUBLIC_ENTE_PHOTOS_ENDPOINT=http://localhost:3000
```
diff --git a/server/config/example.env b/server/config/example.env
index bb3f7cd104..71860689f9 100644
--- a/server/config/example.env
+++ b/server/config/example.env
@@ -28,5 +28,4 @@ MINIO_ROOT_PASSWORD=<secret>
# Replace the below endpoints to the correct subdomains of your choice.
ENTE_API_ORIGIN=http://localhost:8080
ENTE_ALBUMS_ORIGIN=http://localhost:3002
-ENTE_MEMORIES_ORIGIN=http://localhost:3010
ENTE_PHOTOS_ORIGIN=http://localhost:3000
diff --git a/web/Dockerfile b/web/Dockerfile
index ad3057b743..626e5cc127 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -16,7 +16,6 @@ WORKDIR /build/web
ENV NEXT_PUBLIC_ENTE_ENDPOINT=ENTE_API_ORIGIN_PLACEHOLDER
ENV NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=ENTE_ALBUMS_ORIGIN_PLACEHOLDER
-ENV NEXT_PUBLIC_ENTE_MEMORIES_ENDPOINT=ENTE_MEMORIES_ORIGIN_PLACEHOLDER
ENV NEXT_PUBLIC_ENTE_PHOTOS_ENDPOINT=ENTE_PHOTOS_ORIGIN_PLACEHOLDER
# `yarn install` is flaky on the GitHub arm64 runners otherwise.
@@ -99,7 +98,6 @@ EXPOSE 3010
ENV ENTE_API_ORIGIN=http://localhost:8080
ENV ENTE_ALBUMS_ORIGIN=http://localhost:3002
-ENV ENTE_MEMORIES_ORIGIN=http://localhost:3010
ENV ENTE_PHOTOS_ORIGIN=http://localhost:3000
COPY <<EOF /docker-entrypoint.d/90-replace-ente-env.sh
@@ -113,8 +111,6 @@ find /out/photos -name '*.js' |
xargs sed -i'' "s#ENTE_PHOTOS_ORIGIN_PLACEHOLDER#\$ENTE_PHOTOS_ORIGIN#g"
find /out/albums -name '*.js' |
xargs sed -i'' "s#ENTE_PHOTOS_ORIGIN_PLACEHOLDER#\$ENTE_PHOTOS_ORIGIN#g"
-find /out/memories -name '*.js' |
- xargs sed -i'' "s#ENTE_MEMORIES_ORIGIN_PLACEHOLDER#\$ENTE_MEMORIES_ORIGIN#g"
EOF
RUN chmod +x /docker-entrypoint.d/90-replace-ente-env.sh
diff --git a/web/docs/docker.md b/web/docs/docker.md
index 2187a40d60..73cbe7ae73 100644
--- a/web/docs/docker.md
+++ b/web/docs/docker.md
@@ -35,10 +35,6 @@ These images accept four environment variables to allow you to customize them:
hosted. This is used for features like join album links. Default:
"http://localhost:3000".
-- `ENTE_MEMORIES_ORIGIN` - The externally visible origin where the memories app
- is hosted. This is used for public memory share links and memories app
- redirects. Default: "http://localhost:3010".
-
For example, if your API server is running at `https://api.example.org`, you can
configure your Docker image to connect to it: