Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update external-library.md #9420

Merged
merged 2 commits into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions docs/docs/guides/external-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Loading