mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
refactor(docker-compose): Set UID/GID (#1044)
* Adding UID, GID to prevent permission problems when running docker compose as user and not as root. * Update docker_install.md Add comment on pre-creating volume mount directories. --------- Co-authored-by: Erich Focht <efocht@gmail.com> Co-authored-by: Erich Focht <efocht@users.noreply.github.com>
This commit is contained in:
parent
909cbb8529
commit
e7e473d335
3 changed files with 13 additions and 0 deletions
|
|
@ -32,6 +32,11 @@ How to set up the user/auth system and Google login.
|
|||
### Running LibreChat
|
||||
Once you have completed all the setup, you can start the LibreChat application by running the command `docker-compose up` in your terminal. After running this command, you can access the LibreChat application at `http://localhost:3080`.
|
||||
|
||||
If you build your own containers out of the git checkout with `docker up -d --build` you should pre-create the mount points for the volumes. This avoids occasional trouble with directory permissions when rebuilding:
|
||||
```
|
||||
mkdir meili_data images .env.production .env.development data-node
|
||||
```
|
||||
|
||||
**Note:** MongoDB does not support older ARM CPUs like those found in Raspberry Pis. However, you can make it work by setting MongoDB’s version to mongo:4.4.18 in docker-compose.yml, the most recent version compatible with
|
||||
|
||||
That's it! If you need more detailed information on configuring your compose file, see my notes below.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue