Skip to content

Commit ff8fabb

Browse files
authored
docs: Qualify update:docker and the Compose override tag
update:docker builds but never pulls, so it does not update the prebuilt images of a default install. The !override tag needs Compose 2.24.4.
1 parent 7e58c7a commit ff8fabb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/docs/local/docker.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ You may need to prefix commands with `sudo` according to your environment permis
138138

139139
<Callout type="info" title="Update script">
140140

141-
From the LibreChat directory, `npm run update:docker` runs the repository's update script for Docker installs. Use the manual steps below if you prefer to control each step.
141+
The repository's `npm run update:docker` script rebuilds locally built images but does not pull the prebuilt images that the default `docker-compose.yml` uses, so follow the manual steps below to update a default install.
142142

143143
</Callout>
144144

@@ -181,7 +181,7 @@ The simplest fix is to set `PORT` in your `.env` file, which changes both the po
181181
PORT=3081
182182
```
183183
184-
Alternatively, replace the published port in `docker-compose.override.yml` with the `!override` tag (the container keeps listening on 3080):
184+
Alternatively, with Docker Compose 2.24.4 or later, replace the published port in `docker-compose.override.yml` with the `!override` tag (the container keeps listening on 3080):
185185
186186
```yaml filename="docker-compose.override.yml"
187187
services:

0 commit comments

Comments
 (0)