Skip to content

armgit / ente

Public Imported from GitHub
0

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

Include Locker web app in self-host image

Neeraj Gupta45f639f941b9
diff --git a/docs/docs/self-hosting/administration/reverse-proxy.md b/docs/docs/self-hosting/administration/reverse-proxy.md
index e01d7106b8..36caca822e 100644
--- a/docs/docs/self-hosting/administration/reverse-proxy.md
+++ b/docs/docs/self-hosting/administration/reverse-proxy.md
@@ -87,6 +87,11 @@ embed.ente.yourdomain.tld {
reverse_proxy http://localhost:3006
}
+# For Ente Locker web app
+locker.ente.yourdomain.tld {
+ reverse_proxy http://localhost:3009
+}
+
# For Ente Memories web app
memories.ente.yourdomain.tld {
reverse_proxy http://localhost:3010
diff --git a/docs/docs/self-hosting/guides/windows.md b/docs/docs/self-hosting/guides/windows.md
index 76feb83260..a80c5fdc7a 100644
--- a/docs/docs/self-hosting/guides/windows.md
+++ b/docs/docs/self-hosting/guides/windows.md
@@ -183,6 +183,7 @@ services:
- 3005:3005 # Share
- 3006:3006 # Embed
- 3008:3008 # Paste
+ - 3009:3009 # Locker
- 3010:3010 # Memories
environment:
ENTE_API_ORIGIN: http://localhost:8080
diff --git a/server/config/compose.yaml b/server/config/compose.yaml
index 8167c0fea7..2d7b0cd86a 100644
--- a/server/config/compose.yaml
+++ b/server/config/compose.yaml
@@ -73,6 +73,7 @@ services:
- 3005:3005
- 3006:3006
- 3008:3008
+ - 3009:3009
- 3010:3010
environment:
- NODE_ENV=development
diff --git a/server/quickstart.sh b/server/quickstart.sh
index 1df161a145..643c1b2ee7 100755
--- a/server/quickstart.sh
+++ b/server/quickstart.sh
@@ -105,6 +105,7 @@ services:
# - 3005:3005 # Share
# - 3006:3006 # Embed
# - 3008:3008 # Paste
+ # - 3009:3009 # Locker
# Modify these values to your custom subdomains, if using any
environment:
ENTE_API_ORIGIN: http://localhost:8080
diff --git a/web/Dockerfile b/web/Dockerfile
index c7287e8027..c9242bcfc3 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -28,6 +28,7 @@ RUN yarn build:cast
RUN yarn build:share
RUN yarn build:embed
RUN yarn build:paste
+RUN yarn build:locker
RUN yarn build:memories
FROM nginx
@@ -42,6 +43,7 @@ COPY --from=builder /build/web/apps/cast/out /out/cast
COPY --from=builder /build/web/apps/share/out /out/share
COPY --from=builder /build/web/apps/embed/out /out/embed
COPY --from=builder /build/web/apps/paste/out /out/paste
+COPY --from=builder /build/web/apps/locker/out /out/locker
COPY --from=builder /build/web/apps/memories/out /out/memories
COPY <<EOF /etc/nginx/conf.d/default.conf
@@ -77,6 +79,10 @@ server {
listen 3008; root /out/paste;
location / { try_files \$uri \$uri.html /index.html; }
}
+server {
+ listen 3009; root /out/locker;
+ location / { try_files \$uri \$uri.html /index.html; }
+}
server {
listen 3010; root /out/memories;
location / { try_files \$uri \$uri.html /index.html; }
@@ -91,6 +97,7 @@ EXPOSE 3004
EXPOSE 3005
EXPOSE 3006
EXPOSE 3008
+EXPOSE 3009
EXPOSE 3010
ENV ENTE_API_ORIGIN=http://localhost:8080
diff --git a/web/docs/docker.md b/web/docs/docker.md
index a1e0c407d7..41405ddad9 100644
--- a/web/docs/docker.md
+++ b/web/docs/docker.md
@@ -2,7 +2,7 @@
Automated Docker images for the self-hosting web apps are created every Wednesday. You can fetch them from `ghcr.io/ente-io/web`.
-These images expose 9 web apps on the following ports:
+These images expose 10 web apps on the following ports:
- `3000` - Photos
- `3001` - Accounts
@@ -12,6 +12,7 @@ These images expose 9 web apps on the following ports:
- `3005` - Share
- `3006` - Embed
- `3008` - Paste
+- `3009` - Locker
- `3010` - Memories
For example, for selectively exposing only the photos web app on your port 8000, you could: