π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[docs] restructure self-hosting navigation
Keerthana4d078c094c28
diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.tsindex a90caad19b..6715ef1303 100644--- a/docs/docs/.vitepress/sidebar.ts+++ b/docs/docs/.vitepress/sidebar.ts@@ -242,26 +242,61 @@ export const sidebar = [text: "Self hosting",collapsed: true,items: [- { text: "Getting started", link: "/self-hosting/" },{- text: "Connecting to custom server",- link: "/self-hosting/guides/custom-server/",+ text: "Introduction",+ link: "/self-hosting/",},{- text: "Creating accounts",- link: "/self-hosting/creating-accounts",+ text: "Quickstart",+ link: "/self-hosting/quickstart",},{- text: "Configuring your server",- link: "/self-hosting/museum",- },- {- text: "Configuring S3",- link: "/self-hosting/guides/configuring-s3",+ text: "Install",+ collapsed: true,+ items: [+ {+ text: "Requirements",+ link: "/self-hosting/install/requirements",+ },+ {+ text: "Quickstart Script (recommended)",+ link: "/self-hosting/install/quickstart",+ },+ {+ text: "Environment variables",+ link: "/self-hosting/install/environment",+ },+ {+ text: "Post-installation Steps",+ link: "/self-hosting/install/post-install",+ },+ {+ text: "Connecting to Custom Server",+ link: "/self-hosting/install/custom-server/"+ }+ ],},{- text: "Reverse proxy",- link: "/self-hosting/reverse-proxy",+ text: "Administration",+ collapsed: true,+ items: [+ {+ text: "Creating accounts",+ link: "/self-hosting/creating-accounts",+ },+ {+ text: "Configuring your server",+ link: "/self-hosting/museum",+ },+ {+ text: "Configuring S3",+ link: "/self-hosting/guides/configuring-s3",+ },+ {+ text: "Reverse proxy",+ link: "/self-hosting/reverse-proxy",+ },+ ],},{text: "Guides",@@ -342,11 +377,7 @@ export const sidebar = [{text: "Backups",link: "/self-hosting/faq/backup",- },- {- text: "Environment variables",- link: "/self-hosting/faq/environment",- },+ }],},],diff --git a/docs/docs/index.md b/docs/docs/index.mdindex 6bf6d18275..04685abcae 100644--- a/docs/docs/index.md+++ b/docs/docs/index.md@@ -6,7 +6,7 @@ description: ># Welcome!-{width=50% style="margin: 0 auto"}+{width=50% style="margin: 0 auto"}## Introductiondiff --git a/docs/docs/self-hosting/index.md b/docs/docs/self-hosting/index.mdindex f371747114..7b10688264 100644--- a/docs/docs/self-hosting/index.md+++ b/docs/docs/self-hosting/index.md@@ -1,6 +1,6 @@---title: Self Hosting-description: Getting started self hosting Ente Photos and/or Ente Auth+description: Overview of self-hosting Ente---# Self Hosting@@ -9,48 +9,6 @@ The entire source code for Ente is open source,[including the servers](https://ente.io/blog/open-sourcing-our-server/). This isthe same code we use for our own cloud service.-## Requirements--### Hardware--The server is capable of running on minimal resource requirements as a-lightweight Go binary, since most of the intensive computational tasks are done-on the client. It performs well on small cloud instances, old laptops, and even-[low-end embedded devices](https://github.com/ente-io/ente/discussions/594).--### Software--#### Operating System--Any Linux or \*nix operating system, Ubuntu or Debian is recommended to have a-good Docker experience. Non-Linux operating systems tend to provide poor-experience with Docker and difficulty with troubleshooting and assistance.--#### Docker--Required for running Ente's server, web application and dependent services-(database and object storage)--## Getting started--Run this command on your terminal to setup Ente.--```sh-sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/quickstart.sh)"-```--The above `curl` command pulls the Docker image, creates a directory `my-ente`-in the current working directory, prompts to start the cluster and starts all the containers required to run Ente.------> [!TIP] Important:-> If you have used quickstart for self-hosting Ente and are facing issues while > trying to run the cluster due to MinIO buckets not being created, please check [troubleshooting MinIO](/self-hosting/troubleshooting/docker#minio-provisioning-error)->->-## Queries?If you need support, please ask on our communitydiff --git a/docs/docs/self-hosting/guides/custom-server/custom-server.png b/docs/docs/self-hosting/install/custom-server/custom-server.pngsimilarity index 100%rename from docs/docs/self-hosting/guides/custom-server/custom-server.pngrename to docs/docs/self-hosting/install/custom-server/custom-server.pngdiff --git a/docs/docs/self-hosting/guides/custom-server/index.md b/docs/docs/self-hosting/install/custom-server/index.mdsimilarity index 100%rename from docs/docs/self-hosting/guides/custom-server/index.mdrename to docs/docs/self-hosting/install/custom-server/index.mddiff --git a/docs/docs/self-hosting/guides/custom-server/web-custom-endpoint-indicator.png b/docs/docs/self-hosting/install/custom-server/web-custom-endpoint-indicator.pngsimilarity index 100%rename from docs/docs/self-hosting/guides/custom-server/web-custom-endpoint-indicator.pngrename to docs/docs/self-hosting/install/custom-server/web-custom-endpoint-indicator.pngdiff --git a/docs/docs/self-hosting/guides/custom-server/web-dev-settings.png b/docs/docs/self-hosting/install/custom-server/web-dev-settings.pngsimilarity index 100%rename from docs/docs/self-hosting/guides/custom-server/web-dev-settings.pngrename to docs/docs/self-hosting/install/custom-server/web-dev-settings.pngdiff --git a/docs/docs/self-hosting/faq/environment.md b/docs/docs/self-hosting/install/environment.mdsimilarity index 100%rename from docs/docs/self-hosting/faq/environment.mdrename to docs/docs/self-hosting/install/environment.mddiff --git a/docs/docs/self-hosting/install/post-install.md b/docs/docs/self-hosting/install/post-install.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/docs/self-hosting/install/quickstart.md b/docs/docs/self-hosting/install/quickstart.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/docs/self-hosting/install/requirements.md b/docs/docs/self-hosting/install/requirements.mdnew file mode 100644index 0000000000..37ac281eae--- /dev/null+++ b/docs/docs/self-hosting/install/requirements.md@@ -0,0 +1,24 @@+---+title: Requirements+description: Requirements for self-hosting Ente+---++# Requirements++The server is capable of running on minimal resource requirements as a+lightweight Go binary, since most of the intensive computational tasks are done+on the client. It performs well on small cloud instances, old laptops, and even+[low-end embedded devices](https://github.com/ente-io/ente/discussions/594).++## Software++### Operating System++Any Linux or \*nix operating system, Ubuntu or Debian is recommended to have a+good Docker experience. Non-Linux operating systems tend to provide poor+experience with Docker and difficulty with troubleshooting and assistance.++### Docker++Required for running Ente's server, web application and dependent services+(database and object storage)diff --git a/docs/docs/self-hosting/quickstart.md b/docs/docs/self-hosting/quickstart.mdnew file mode 100644index 0000000000..7267990bf5--- /dev/null+++ b/docs/docs/self-hosting/quickstart.md@@ -0,0 +1,46 @@+---+title: Quickstart+description: Getting started with self-hosting Ente+---++# Quickstart++For a quick preview of running Ente on your server, make sure you have the following installed on your system and meets the requirements mentioned below:++## Requirements++The server is capable of running on minimal resource requirements as a+lightweight Go binary, since most of the intensive computational tasks are done+on the client. It performs well on small cloud instances, old laptops, and even+[low-end embedded devices](https://github.com/ente-io/ente/discussions/594).++### Software++#### Operating System++Any Linux or \*nix operating system, Ubuntu or Debian is recommended to have a+good Docker experience. Non-Linux operating systems tend to provide poor+experience with Docker and difficulty with troubleshooting and assistance.++#### Docker++Required for running Ente's server, web application and dependent services+(database and object storage)++## Getting started++Run this command on your terminal to setup Ente.++```sh+sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/quickstart.sh)"+```++The above `curl` command pulls the Docker image, creates a directory `my-ente`+in the current working directory, prompts to start the cluster and starts all the containers required to run Ente.++++++> [!TIP] Important:+> If you have used quickstart for self-hosting Ente and are facing issues while trying to run the cluster due to MinIO buckets not being created, please check [troubleshooting MinIO](/self-hosting/troubleshooting/docker#minio-provisioning-error).diff --git a/server/mail-templates/family_nudge_paid_sub.html b/server/mail-templates/family_nudge_paid_sub.htmlnew file mode 100644index 0000000000..e69de29bb2diff --git a/server/quickstart.sh b/server/quickstart.shindex 4c2a58f871..74535d437e 100755--- a/server/quickstart.sh+++ b/server/quickstart.sh@@ -79,6 +79,12 @@ services:volumes:- ./museum.yaml:/museum.yaml:ro- ./data:/data:ro+ healthcheck:+ test: ["CMD", "curl", "--fail", "http://localhost:8080/ping"]+ interval: 60s+ timeout: 5s+ retries: 3+ start_period: 5s# Resolve "localhost:3200" in the museum container to the minio container.socat: