Skip to content

Commit

Permalink
docs: Fix documentation for running as a non-root Docker user (#8218)
Browse files Browse the repository at this point in the history
* Update FAQ.mdx

* Update FAQ.mdx

* Update FAQ.mdx
  • Loading branch information
mmomjian committed Mar 23, 2024
1 parent b07a565 commit b449feb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/docs/FAQ.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,11 @@ Immich components are typically deployed using docker. To see logs for deployed
### How can I run Immich as a non-root user?

You can change the user in the container by setting the `user` argument in `docker-compose.yml` for each service.
You may need to add an additional volume to `immich-microservices` that mounts internally to `/usr/src/app/.reverse-geocoding-dump`.
You may need to add mount points or docker volumes for the following internal container paths:

- `immich-machine-learning:/.config`
- `immich-machine-learning:/.cache`
- `redis:/data`

The non-root user/group needs read/write access to the volume mounts, including `UPLOAD_LOCATION`.

Expand Down

0 comments on commit b449feb

Please sign in to comment.