Skip to content

armgit / ente

Public Imported from GitHub
0

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

Use GitHub-style alerts for self-hosting doc callouts

Manav Rathide4d5ca2d638
diff --git a/docs/docs/self-hosting/administration/cli.md b/docs/docs/self-hosting/administration/cli.md
index 4404db4edc..6e144447b7 100644
--- a/docs/docs/self-hosting/administration/cli.md
+++ b/docs/docs/self-hosting/administration/cli.md
@@ -7,11 +7,11 @@ description: Guide to configuring Ente CLI for Self Hosted Instance
If you are self-hosting, you can configure Ente CLI to export data & perform basic administrative actions.
-::: tip Installing Ente CLI
-
-For instructions on installing the Ente CLI, see the [README available on Github](https://github.com/ente-io/ente/tree/main/cli/README.md).
-
-:::
+> [!TIP]
+>
+> **Installing Ente CLI**
+>
+> For instructions on installing the Ente CLI, see the [README available on Github](https://github.com/ente-io/ente/tree/main/cli/README.md).
## Step 1: Configure endpoint
@@ -31,13 +31,13 @@ You can whitelist administrator users by following this [guide](/self-hosting/ad
## Step 3: Add an account
-::: info You can not create new accounts using Ente CLI.
-
-You can only log in to your existing accounts.
-
-To create a new account, use Ente Photos (or Ente Auth) web application, desktop or mobile.
-
-:::
+> [!NOTE]
+>
+> You can not create new accounts using Ente CLI.
+>
+> You can only log in to your existing accounts.
+>
+> To create a new account, use Ente Photos (or Ente Auth) web application, desktop or mobile.
You can add your existing account using Ente CLI.
@@ -62,14 +62,14 @@ ente admin update-subscription -a <admin-user-mail> -u <user-email-to-update> --
ente admin update-subscription -a <admin-user-mail> -u <user-email-to-update> --no-limit False
```
-::: info The users must be registered on the server with same e-mail address.
-
-If the commands are failing, ensure:
-
-1. `<admin-user-mail>` is whitelisted as administrator user in `museum.yaml`. For more information, check this [guide](/self-hosting/administration/users#whitelist-admins).
-2. `<user-email-to-update>` is a registered user with completed verification.
-
-:::
+> [!NOTE]
+>
+> The users must be registered on the server with same e-mail address.
+>
+> If the commands are failing, ensure:
+>
+> 1. `<admin-user-mail>` is whitelisted as administrator user in `museum.yaml`. For more information, check this [guide](/self-hosting/administration/users#whitelist-admins).
+> 2. `<user-email-to-update>` is a registered user with completed verification.
For more information, check out the documentation for setting [storage and account validity](https://github.com/ente-io/ente/blob/main/cli/docs/generated/ente_admin_update-subscription.md) using the CLI.
diff --git a/docs/docs/self-hosting/administration/users.md b/docs/docs/self-hosting/administration/users.md
index d8bb6682c3..c7d781426d 100644
--- a/docs/docs/self-hosting/administration/users.md
+++ b/docs/docs/self-hosting/administration/users.md
@@ -50,17 +50,17 @@ The administrator users have to be explicitly whitelisted in `museum.yaml`. You
4. Restart Museum by restarting the cluster
-::: tip Restart your Compose clusters whenever you make changes
-
-If you have edited the Compose file or configuration file (`museum.yaml`), make sure to recreate the cluster's containers.
-
-You can do this by the following command:
-
-```sh
-docker compose down && docker compose up -d
-```
-
-:::
+> [!TIP]
+>
+> Restart your Compose clusters whenever you make changes.
+>
+> If you have edited the Compose file or configuration file (`museum.yaml`), make sure to recreate the cluster's containers.
+>
+> You can do this by the following command:
+>
+> ```sh
+> docker compose down && docker compose up -d
+> ```
## Increase storage and account validity
diff --git a/docs/docs/self-hosting/guides/photos-k8s-helm.md b/docs/docs/self-hosting/guides/photos-k8s-helm.md
index 2afcb308d7..68fbf1748e 100644
--- a/docs/docs/self-hosting/guides/photos-k8s-helm.md
+++ b/docs/docs/self-hosting/guides/photos-k8s-helm.md
@@ -102,11 +102,9 @@ credentials:
#### Self-hosted S3 configuration
-::: warning MinIO
-
-MinIO has dropped open-source support and is no longer recommended for new deployments. Consider using [Garage](https://garagehq.deuxfleurs.fr/) or a managed S3-compatible service instead.
-
-:::
+> [!WARNING]
+>
+> MinIO has dropped open-source support and is no longer recommended for new deployments. Consider using [Garage](https://garagehq.deuxfleurs.fr/) or a managed S3-compatible service instead.
If you're using a self-hosted S3-compatible storage (MinIO, Garage, etc.), enable path-style URLs:
@@ -148,15 +146,15 @@ externalDatabase:
For external access, configure ingress for each component.
-::: tip Automate certificate and DNS management
-
-If you have [cert-manager](https://cert-manager.io/) installed, it can automatically provision TLS certificates from Let's Encrypt (or other issuers) using ingress annotations.
-
-Similarly, [external-dns](https://github.com/kubernetes-sigs/external-dns) can automatically create DNS records for your ingress hosts - no manual DNS configuration needed.
-
-Both are **highly recommended** for production Kubernetes deployments.
-
-:::
+> [!TIP]
+>
+> **Automate certificate and DNS management**
+>
+> If you have [cert-manager](https://cert-manager.io/) installed, it can automatically provision TLS certificates from Let's Encrypt (or other issuers) using ingress annotations.
+>
+> Similarly, [external-dns](https://github.com/kubernetes-sigs/external-dns) can automatically create DNS records for your ingress hosts - no manual DNS configuration needed.
+>
+> Both are **highly recommended** for production Kubernetes deployments.
```yaml
# Museum API server
@@ -289,15 +287,13 @@ Open the Photos web app in your browser (e.g., `https://photos.example.com`).
Select **Don't have an account?** to create a new user and follow the prompts.
-::: tip
-
-If you haven't configured SMTP, retrieve the verification code from the Museum logs:
-
-```sh
-kubectl logs deploy/ente-photos-museum -n ente-photos | grep -i "ott"
-```
-
-:::
+> [!TIP]
+>
+> If you haven't configured SMTP, retrieve the verification code from the Museum logs:
+>
+> ```sh
+> kubectl logs deploy/ente-photos-museum -n ente-photos | grep -i "ott"
+> ```
## Configuration reference
@@ -330,13 +326,11 @@ credentials:
secret: "your-generated-jwt-secret"
```
-::: warning
-
-If you don't provide these keys, they will be regenerated on each Helm upgrade, which will invalidate encryption keys making existing data not-accessible.
-
-**Always set explicit keys for production deployments. Remember to save them securely**
-
-:::
+> [!WARNING]
+>
+> If you don't provide these keys, they will be regenerated on each Helm upgrade, which will invalidate encryption keys making existing data not-accessible.
+>
+> **Always set explicit keys for production deployments. Remember to save them securely**
### Using existing secrets
@@ -416,13 +410,11 @@ To remove the deployment:
helm uninstall ente-photos --namespace ente-photos
```
-::: warning
-
-This does not delete persistent data in your database or S3 storage.
-
-Clean up those resources manually if needed.
-
-:::
+> [!WARNING]
+>
+> This does not delete persistent data in your database or S3 storage.
+>
+> Clean up those resources manually if needed.
## Troubleshooting
diff --git a/docs/docs/self-hosting/index.md b/docs/docs/self-hosting/index.md
index 9050dcd932..385aaf00e6 100644
--- a/docs/docs/self-hosting/index.md
+++ b/docs/docs/self-hosting/index.md
@@ -28,11 +28,9 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ente-io/ente/main/server/q
This creates a directory `my-ente` in the current working directory, prompts to start the cluster with needed containers after pulling the images required to run Ente.
-::: info
-
-Make sure to modify the default values in `compose.yaml` and `museum.yaml` if you wish to change endpoints, bucket configuration or server configuration.
-
-:::
+> [!NOTE]
+>
+> Make sure to modify the default values in `compose.yaml` and `museum.yaml` if you wish to change endpoints, bucket configuration or server configuration.
## Try the web apps
diff --git a/docs/docs/self-hosting/installation/compose.md b/docs/docs/self-hosting/installation/compose.md
index f7373c94b3..a40a2eeb69 100644
--- a/docs/docs/self-hosting/installation/compose.md
+++ b/docs/docs/self-hosting/installation/compose.md
@@ -39,22 +39,20 @@ cp example.yaml museum.yaml
Change the values present in `.env` file along with `museum.yaml` file accordingly.
-::: tip
-
-Make sure to enter the correct values for the database and object storage.
-
-You should consider generating values for JWT and encryption keys for emails if you intend to use for long-term needs.
-
-You can do by running the following command inside `ente/server`, assuming you cloned the repository to `ente`:
-
-```sh
-# Change into the ente/server
-cd ente/server
-# Generate secrets
-go run tools/gen-random-keys/main.go
-```
-
-:::
+> [!TIP]
+>
+> Make sure to enter the correct values for the database and object storage.
+>
+> You should consider generating values for JWT and encryption keys for emails if you intend to use for long-term needs.
+>
+> You can do by running the following command inside `ente/server`, assuming you cloned the repository to `ente`:
+>
+> ```sh
+> # Change into the ente/server
+> cd ente/server
+> # Generate secrets
+> go run tools/gen-random-keys/main.go
+> ```
## Step 3: Start the cluster
@@ -66,8 +64,6 @@ docker compose up --build
This builds Museum and web applications based on the Dockerfile and starts the containers needed for Ente.
-::: tip
-
-Check out [post-installations steps](/self-hosting/installation/post-install/) for further usage.
-
-:::
+> [!TIP]
+>
+> Check out [post-installations steps](/self-hosting/installation/post-install/) for further usage.
diff --git a/docs/docs/self-hosting/installation/manual.md b/docs/docs/self-hosting/installation/manual.md
index a311cde9e5..1aaa0687d2 100644
--- a/docs/docs/self-hosting/installation/manual.md
+++ b/docs/docs/self-hosting/installation/manual.md
@@ -74,11 +74,9 @@ git clone https://github.com/ente-io/ente
psql
```
- ::: tip
-
- You may need to use `su <username>` before executing `psql`, where `<username>` is the user that starts PostgreSQL service.
-
- :::
+ > [!TIP]
+ >
+ > You may need to use `su <username>` before executing `psql`, where `<username>` is the user that starts PostgreSQL service.
2. Create a user in PostgreSQL for ente:
@@ -131,20 +129,18 @@ Values you used for `database name` and `username` correspond to the values you
cp config/example.yaml ./museum.yaml
```
- ::: tip
-
- Make sure to enter the correct values for the database and object storage.
-
- You should consider generating values for JWT and encryption keys for emails if you intend to use for long-term needs.
-
- You can do by running the following command inside `ente/server`, assuming you cloned the repository to `ente`:
-
- ```shell
- # Generate secrets
- go run tools/gen-random-keys/main.go
- ```
-
- :::
+ > [!TIP]
+ >
+ > Make sure to enter the correct values for the database and object storage.
+ >
+ > You should consider generating values for JWT and encryption keys for emails if you intend to use for long-term needs.
+ >
+ > You can do by running the following command inside `ente/server`, assuming you cloned the repository to `ente`:
+ >
+ > ```shell
+ > # Generate secrets
+ > go run tools/gen-random-keys/main.go
+ > ```
4. Run the server
@@ -279,16 +275,14 @@ Museum should be accessible at `http://localhost:8080`
}
```
- ::: tip Important for Share App
-
- The share web app (Public Locker) specifically requires all routes to be served through `/index.html` as it uses client-side routing with a single entry point. The `try_files` directive with `/index.html` as the fallback is essential for proper functionality. Without this configuration, direct links to shared albums and routes will result in 404 errors.
-
- :::
+ > [!TIP]
+ >
+ > **Important for Share App**
+ >
+ > The share web app (Public Locker) specifically requires all routes to be served through `/index.html` as it uses client-side routing with a single entry point. The `try_files` directive with `/index.html` as the fallback is essential for proper functionality. Without this configuration, direct links to shared albums and routes will result in 404 errors.
The Ente Photos web app should be accessible at http://localhost:3000, and the Ente Albums app at http://localhost:3002. Check out the [default ports](/self-hosting/installation/env-var#ports) for more information.
-::: tip
-
-Check out [post-installations steps](/self-hosting/installation/post-install/) for further usage.
-
-:::
+> [!TIP]
+>
+> Check out [post-installations steps](/self-hosting/installation/post-install/) for further usage.
diff --git a/docs/docs/self-hosting/installation/post-install/index.md b/docs/docs/self-hosting/installation/post-install/index.md
index 75f46fe78a..c642ec780f 100644
--- a/docs/docs/self-hosting/installation/post-install/index.md
+++ b/docs/docs/self-hosting/installation/post-install/index.md
@@ -73,17 +73,17 @@ If running Museum without Docker, the code should be visible in the terminal (st
4. Restart Museum by restarting the cluster
-::: tip Restart your Compose clusters whenever you make changes
-
-If you have edited the Compose file or configuration file (`museum.yaml`), make sure to recreate the cluster's containers.
-
-You can do this by the following command:
-
-```sh
-docker compose down && docker compose up -d
-```
-
-:::
+> [!TIP]
+>
+> Restart your Compose clusters whenever you make changes.
+>
+> If you have edited the Compose file or configuration file (`museum.yaml`), make sure to recreate the cluster's containers.
+>
+> You can do this by the following command:
+>
+> ```sh
+> docker compose down && docker compose up -d
+> ```
## Step 3: Configure application endpoints
@@ -174,8 +174,8 @@ You can download Ente CLI from [here](https://github.com/ente-io/ente/releases?q
Check our [documentation](/self-hosting/administration/cli) on how to use Ente CLI for managing self-hosted instances.
-::: info For upgrading
-
-Check out our [upgrading documentation](/self-hosting/installation/upgrade) for various installation methods.
-
-:::
+> [!NOTE]
+>
+> **For upgrading**
+>
+> Check out our [upgrading documentation](/self-hosting/installation/upgrade) for various installation methods.
diff --git a/docs/docs/self-hosting/installation/quickstart.md b/docs/docs/self-hosting/installation/quickstart.md
index c7e4e4f15e..cb4ae0f8f2 100644
--- a/docs/docs/self-hosting/installation/quickstart.md
+++ b/docs/docs/self-hosting/installation/quickstart.md
@@ -30,8 +30,6 @@ Public album links are served by the Albums app at [http://localhost:3002](http:
The data accessed by Museum is stored in `./data` folder inside `my-ente` directory. It contains extra configuration files that is to be used (push notification credentials, etc.)
-::: tip
-
-Check out [post-installation steps](/self-hosting/installation/post-install/) for further usage.
-
-:::
+> [!TIP]
+>
+> Check out [post-installation steps](/self-hosting/installation/post-install/) for further usage.
diff --git a/docs/docs/self-hosting/installation/upgrade.md b/docs/docs/self-hosting/installation/upgrade.md
index 88c70bf15b..6215099962 100644
--- a/docs/docs/self-hosting/installation/upgrade.md
+++ b/docs/docs/self-hosting/installation/upgrade.md
@@ -9,15 +9,13 @@ Upgrading Ente depends on the method of installation you have chosen.
## Quickstart
-::: tip For Docker users
-
-You can free up some disk space by deleting older images that were used by obsolete containers.
-
-```sh
-docker image prune
-```
-
-:::
+> [!TIP]
+>
+> You can free up some disk space by deleting older images that were used by obsolete containers.
+>
+> ```sh
+> docker image prune
+> ```
Pull in the latest images in the directory where the Compose file resides. Restart the cluster to recreate containers with newer images.
diff --git a/docs/docs/self-hosting/troubleshooting/docker.md b/docs/docs/self-hosting/troubleshooting/docker.md
index 98a982386c..d0de59bd11 100644
--- a/docs/docs/self-hosting/troubleshooting/docker.md
+++ b/docs/docs/self-hosting/troubleshooting/docker.md
@@ -5,7 +5,9 @@ description: Fixing Docker-related errors when trying to self-host Ente
# Troubleshooting Docker-related errors
-> [!TIP] Restart after changes
+> [!TIP]
+>
+> **Restart after changes**
>
> Remember to restart your cluster to ensure changes that you make in the `compose.yaml` and `museum.yaml` get picked up.
>