mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +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
|
|
@ -67,6 +67,11 @@ LIMIT_MESSAGE_USER=false # Whether to limit the amount of messages an IP can sen
|
|||
MESSAGE_USER_MAX=40 # The max amount of messages an IP can send per MESSAGE_USER_WINDOW
|
||||
MESSAGE_USER_WINDOW=1 # in minutes, determines the window of time for MESSAGE_USER_MAX messages
|
||||
|
||||
# If you have permission problems, set here the UID and GID of the user running
|
||||
# the docker compose command. The applications in the container will run with these uid/gid.
|
||||
UID=1000
|
||||
GID=1000
|
||||
|
||||
# Change this to proxy any API request.
|
||||
# It's useful if your machine has difficulty calling the original API server.
|
||||
# PROXY=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue