You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,21 @@ docker run --name openreader-webui \
42
42
-v openreader_docstore:/app/docstore \
43
43
richardr1126/openreader-webui:latest
44
44
```
45
-
> **Note:** The `openreader_docstore` volume is used to store server-side documents. You can mount a local directory instead. Or remove it if you don't need server-side documents.
45
+
46
+
(Optionally): Set the TTS `API_BASE` URL and/or `API_KEY` to be default for all devices
47
+
```bash
48
+
docker run --name openreader-webui \
49
+
-e API_BASE=http://host.docker.internal:8880/v1 \
50
+
-p 3003:3003 \
51
+
-v openreader_docstore:/app/docstore \
52
+
richardr1126/openreader-webui:latest
53
+
```
54
+
55
+
> Requesting audio from the TTS API happens on the Next.js server not the client. So the base URL for the TTS API should be accessible and relative to the Next.js server. If it is in a Docker you may need to use `host.docker.internal` to access the host machine, instead of `localhost`.
46
56
47
57
Visit [http://localhost:3003](http://localhost:3003) to run the app and set your settings.
48
58
49
-
> Requesting audio from the TTS API happens on the Next.js server not the client. So the base URL for the TTS API should be accessible and relative to the Next.js server.
59
+
> **Note:** The `openreader_docstore` volume is used to store server-side documents. You can mount a local directory instead. Or remove it if you don't need server-side documents.
0 commit comments