π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[web] Add paste to web Docker image
Manav Rathi98c676d4f8f9
diff --git a/docs/docs/self-hosting/guides/windows.md b/docs/docs/self-hosting/guides/windows.mdindex 717c4be8eb..87b4be770c 100644--- a/docs/docs/self-hosting/guides/windows.md+++ b/docs/docs/self-hosting/guides/windows.md@@ -179,6 +179,7 @@ services:- 3004:3004 # Cast- 3005:3005 # Share- 3006:3006 # Embed+ - 3008:3008 # Pasteenvironment:ENTE_API_ORIGIN: http://localhost:8080# ENTE_API_ORIGIN: http://192.168.1.42:8080diff --git a/docs/docs/self-hosting/installation/post-install/index.md b/docs/docs/self-hosting/installation/post-install/index.mdindex 7191815ee0..a323537eb5 100644--- a/docs/docs/self-hosting/installation/post-install/index.md+++ b/docs/docs/self-hosting/installation/post-install/index.md@@ -113,8 +113,9 @@ apps:```If you are using quickstart, note that only Photos and Albums are exposed by-default in `compose.yaml`. Expose or deploy Share / Paste separately before-pointing `apps.public-locker` / `apps.public-paste` to those URLs.+default in `compose.yaml`. Uncomment the Share / Paste port mappings there, or+deploy them separately, before pointing `apps.public-locker` /+`apps.public-paste` to those URLs.## Step 4: Make it publicly accessiblediff --git a/server/config/compose.yaml b/server/config/compose.yamlindex b90cbba6b9..074dc5874b 100644--- a/server/config/compose.yaml+++ b/server/config/compose.yaml@@ -72,6 +72,7 @@ services:- 3004:3004- 3005:3005- 3006:3006+ - 3008:3008environment:- NODE_ENV=developmentenv_file:diff --git a/server/quickstart.sh b/server/quickstart.shindex 15b7ada743..990e871577 100755--- a/server/quickstart.sh+++ b/server/quickstart.sh@@ -104,6 +104,7 @@ services:# - 3004:3004 # Cast# - 3005:3005 # Share# - 3006:3006 # Embed+ # - 3008:3008 # Paste# Modify these values to your custom subdomains, if using anyenvironment:ENTE_API_ORIGIN: http://localhost:8080diff --git a/web/Dockerfile b/web/Dockerfileindex 620ed7e89a..c74178d420 100644--- a/web/Dockerfile+++ b/web/Dockerfile@@ -27,6 +27,7 @@ RUN yarn build:authRUN yarn build:castRUN yarn build:shareRUN yarn build:embed+RUN yarn build:pasteFROM nginx@@ -38,6 +39,7 @@ COPY --from=builder /build/web/apps/auth/out /out/authCOPY --from=builder /build/web/apps/cast/out /out/castCOPY --from=builder /build/web/apps/share/out /out/shareCOPY --from=builder /build/web/apps/embed/out /out/embed+COPY --from=builder /build/web/apps/paste/out /out/pasteCOPY <<EOF /etc/nginx/conf.d/default.confserver {@@ -68,6 +70,10 @@ server {listen 3006; root /out/embed;location / { try_files \$uri \$uri.html /index.html; }}+server {+ listen 3008; root /out/paste;+ location / { try_files \$uri \$uri.html /index.html; }+}EOFEXPOSE 3000@@ -77,6 +83,7 @@ EXPOSE 3003EXPOSE 3004EXPOSE 3005EXPOSE 3006+EXPOSE 3008ENV ENTE_API_ORIGIN=http://localhost:8080ENV ENTE_ALBUMS_ORIGIN=https://localhost:3002diff --git a/web/docs/docker.md b/web/docs/docker.mdindex b4517f813e..56f435351f 100644--- a/web/docs/docker.md+++ b/web/docs/docker.md@@ -3,7 +3,7 @@Automated docker images that allow you to run any (or all) of the web apps arecreated every Wednesday. You can use fetch them from `ghcr.io/ente-io/web`.-These images expose web apps on 5 ports:+These images expose web apps on 8 ports:- `3000` - Photos- `3001` - Account@@ -12,6 +12,7 @@ These images expose web apps on 5 ports:- `3004` - Cast- `3005` - Share- `3006` - Embed+- `3008` - PasteFor example, for selectively exposing only the photos web app on your port 8000,you could:@@ -20,7 +21,7 @@ you could:docker run -it --rm -p 8000:3000 ghcr.io/ente-io/web```-These images accept two environment variables to allow you to customize them:+These images accept three environment variables to allow you to customize them:- `ENTE_API_ORIGIN` - The API origin (scheme://host:port) for your API server.Default: "http://localhost:8080".