Skip to content

High performance self-hosted photo and video management solution.

docs: update external-library.md (#9420)

FedericoCalzoni540e568e9d29
diff --git a/docs/docs/guides/external-library.md b/docs/docs/guides/external-library.md
index b1d4b67b2e..042f3900cc 100644
--- a/docs/docs/guides/external-library.md
+++ b/docs/docs/guides/external-library.md
@@ -6,15 +6,19 @@ in a directory on the same machine.
# Mount the directory into the containers.
-Edit `docker-compose.yml` to add two new mount points under `volumes:`
+Edit `docker-compose.yml` to add two new mount points in the sections `immich-server:` and `immich-microservices:` under `volumes:`
-```
- immich-server:
+```diff
+immich-server:
+ volumes:
++ - ${EXTERNAL_PATH}:/usr/src/app/external
+
+immich-microservices:
volumes:
- - ${EXTERNAL_PATH}:/usr/src/app/external
++ - ${EXTERNAL_PATH}:/usr/src/app/external
```
-Be sure to add exactly the same line to both `immich-server:` and `immich-microservices:`.
+Be sure to add exactly the same path to both services.
Edit `.env` to define `EXTERNAL_PATH`, substituting in the correct path for your computer: