add(ui/ux): show the running version and build stamp in the header
This commit is contained in:
@@ -25,6 +25,13 @@ the same mount, otherwise moving turns into copy + delete.
|
||||
| `WORDARR_EXTRA_EBOOK_EXTENSIONS` | – | extra ebook formats the scan should offer, e.g. `.kepub,.lit,.rtf` |
|
||||
| `WORDARR_HARDCOVER_TOKEN` | – | Hardcover API token, the best ebook source; without it Hardcover is skipped |
|
||||
| `WORDARR_GOOGLE_BOOKS_KEY` | – | optional, only needed when the keyless Google Books quota runs dry |
|
||||
| `WORDARR_BUILD` | – | shown next to the version, e.g. the git sha; also a build arg of the image |
|
||||
|
||||
The header shows the running version and, behind it, the build stamp (the newest
|
||||
source file, or `WORDARR_BUILD` when the image was built with it) - the quickest
|
||||
way to see whether a redeploy actually arrived. `GET /api/version` returns the
|
||||
same three values. Build with the git sha via
|
||||
`WORDARR_BUILD=$(git rev-parse --short HEAD) docker compose up -d --build`.
|
||||
|
||||
The UI speaks German and English; the button next to the navigation switches
|
||||
between them and remembers the choice. Without one, the browser language decides.
|
||||
|
||||
Reference in New Issue
Block a user