fix: correct Docker config mount path to /data and improve error message (#44)

This commit is contained in:
zyberwoof authored and GitHub committed 2026-09-16 15:25:09 -04:00
1 parent c1133ee801
commit 914f7997fd
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -99,7 +99,7 @@ docker run -d \
-e OPEN_WEBUI_API_KEY=sk-... \
-e OIKB_API_KEY=your-daemon-key \
-e LOG_FORMAT=json \
-v ./.oikb.yaml:/app/.oikb.yaml:ro \
-v ./.oikb.yaml:/data/.oikb.yaml:ro \
-p 8080:8080 \
ghcr.io/open-webui/oikb:latest daemon
```
@@ -121,7 +121,7 @@ services:
- OIKB_API_KEY=${OIKB_API_KEY}
- LOG_FORMAT=json
volumes:
- ./.oikb.yaml:/app/.oikb.yaml:ro
- ./.oikb.yaml:/data/.oikb.yaml:ro
command: daemon
ports:
- "8080:8080"
+1 -1
View File
@@ -15,7 +15,7 @@ services:
- OIKB_API_KEY=${OIKB_API_KEY}
- LOG_FORMAT=json
volumes:
- ./.oikb.yaml:/app/.oikb.yaml:ro
- ./.oikb.yaml:/data/.oikb.yaml:ro
command: daemon
ports:
- "8080:8080"
+1 -1
View File
@@ -1047,7 +1047,7 @@ def daemon(port: int, no_server: bool, config_file: str | None, log_format: str
entries = _load_oikb_yaml()
if not entries:
click.echo(click.style("No sync entries found. Create a .oikb.yaml file.", fg="red"), err=True)
click.echo(click.style("No sync entries found. Create a .oikb.yaml file at {yaml_path}.", fg="red"), err=True)
sys.exit(1)
# Validate entries.