π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Doc
Manav Rathic06175cf11a2
diff --git a/web/Dockerfile b/web/Dockerfileindex 1f86dfe677..a9a0d4c51f 100644--- a/web/Dockerfile+++ b/web/Dockerfile@@ -1,3 +1,5 @@+# Docs - https://github.com/ente-io/ente/blob/main/web/docs/docker.md+FROM node:20-alpine AS builderWORKDIR /builddiff --git a/web/docs/docker.md b/web/docs/docker.mdnew file mode 100644index 0000000000..d32ae104b2--- /dev/null+++ b/web/docs/docker.md@@ -0,0 +1,35 @@+# Docker++Automated docker images that allow you to run any (or all) of the web apps are+created every Wednesday. You can use fetch them from `ghcr.io/ente-io/web`.++These images expose web apps on 5 ports:++- `3000` - Photos+- `3001` - Account+- `3002` - Albums+- `3003` - Auth+- `3004` - Cast++For example, for selectively exposing only the photos web app on your port 8000,+you could:++```sh+docker run -it --rm -p 8000:3000 ghcr.io/ente-io/web+```++These images accept two 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".++- `ENTE_ALBUMS_ORIGIN` - If you're running the album app, then set this to the+ externally visible origin where the albums app is hosted. Default:+ "https://localhost:3002".++For example, if your API server is running at `https://api.example.org`, you can+configure your Docker image to connect to it:++```sh+docker run -it --rm -e ENTE_API_ORIGIN=https://api.example.org ghcr.io/ente-io/web+```