π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
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.mdindex 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.comENTE_PHOTOS_ORIGIN: http://localhost:3000# ENTE_PHOTOS_ORIGIN: http://192.168.1.42:3000# ENTE_PHOTOS_ORIGIN: https://photos.mydomain.comdiff --git a/docs/docs/self-hosting/installation/env-var.md b/docs/docs/self-hosting/installation/env-var.mdindex 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.mdindex 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 youexport NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080# Replace this with actual endpoint for Albumsexport 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 Photosexport NEXT_PUBLIC_ENTE_PHOTOS_ENDPOINT=http://localhost:3000```diff --git a/server/config/example.env b/server/config/example.envindex 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:8080ENTE_ALBUMS_ORIGIN=http://localhost:3002-ENTE_MEMORIES_ORIGIN=http://localhost:3010ENTE_PHOTOS_ORIGIN=http://localhost:3000diff --git a/web/Dockerfile b/web/Dockerfileindex ad3057b743..626e5cc127 100644--- a/web/Dockerfile+++ b/web/Dockerfile@@ -16,7 +16,6 @@ WORKDIR /build/webENV NEXT_PUBLIC_ENTE_ENDPOINT=ENTE_API_ORIGIN_PLACEHOLDERENV NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=ENTE_ALBUMS_ORIGIN_PLACEHOLDER-ENV NEXT_PUBLIC_ENTE_MEMORIES_ENDPOINT=ENTE_MEMORIES_ORIGIN_PLACEHOLDERENV NEXT_PUBLIC_ENTE_PHOTOS_ENDPOINT=ENTE_PHOTOS_ORIGIN_PLACEHOLDER# `yarn install` is flaky on the GitHub arm64 runners otherwise.@@ -99,7 +98,6 @@ EXPOSE 3010ENV ENTE_API_ORIGIN=http://localhost:8080ENV ENTE_ALBUMS_ORIGIN=http://localhost:3002-ENV ENTE_MEMORIES_ORIGIN=http://localhost:3010ENV ENTE_PHOTOS_ORIGIN=http://localhost:3000COPY <<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"EOFRUN chmod +x /docker-entrypoint.d/90-replace-ente-env.shdiff --git a/web/docs/docker.md b/web/docs/docker.mdindex 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 canconfigure your Docker image to connect to it: