This commit is contained in:
Laurent Cozic committed 2026-02-18 19:11:03 +00:00
1 parent 0877d6e9cd
commit a747996d8c
2 files changed
+15 -2

No files matched your search

+2 -1
View File
@@ -5,4 +5,5 @@ images/*
models/
*.sqlite3
*.sqlite-journal
.env
.env
htr-metal/
+13 -1
View File
@@ -79,7 +79,19 @@ Metal GPU access is not available inside Docker containers on macOS, so the infe
3. Start the server normally — `HTR_CLI_IMAGES_FOLDER` still needs to be set and accessible to the native binary.
---
Here's a sample `.env` file for testing:
```ini
# Copy these lines from the output of `yarn setupMetal`
HTR_CLI_GPU_TYPE=metal
HTR_CLI_BINARY_PATH=
HTR_CLI_MODELS_FOLDER=
HTR_CLI_IMAGES_FOLDER=/path/to/images
API_KEY=test-key
QUEUE_DRIVER=sqlite
QUEUE_DATABASE_NAME=./queue.sqlite3
```
## Using Docker Compose