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: DEPLOY.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,16 +143,16 @@ Self-hosters on air-gapped networks, in strict-egress environments, or just want
143
143
144
144
### Setup
145
145
146
-
1. Uncomment the OFF mirror volume mount in `docker-compose.yml`:
146
+
1. Uncomment the OFF mirror volume mount in `docker-compose.yml`. **Bind-mount a parent directory, not the file itself** — Docker auto-creates missing single-file bind-mount sources as directories on the host, which then surfaces inside the container as a directory at the mount point and breaks atomic-swap refresh with `EISDIR` (issue #22 followup):
Note: the mount is read-write so NutriTrace can perform in-place refresh via atomic swap. Earlier docs suggested `:ro`; if you previously set that, change it to writable so scheduled and manual refreshes work.
150
+
The mount is read-write so NutriTrace can perform in-place refresh via atomic swap. Earlier docs suggested `:ro`; if you previously set that, change it to writable so scheduled and manual refreshes work.
151
151
152
152
2. Set the env vars in `.env`:
153
153
```bash
154
-
OFF_LOCAL_DB_HOST_PATH=/path/on/host/off.parquet# the host path (will be created if missing)
155
-
OFF_LOCAL_DB=/data/off.parquet # the in-container path
154
+
OFF_LOCAL_DB_HOST_PATH=/path/on/host/off-mirror # parent directory on host
155
+
OFF_LOCAL_DB=/data/off-mirror/off.parquet # in-container path to the file
156
156
# Optional — pin the download URL (defaults to the maintained Hugging Face Parquet dump).
0 commit comments