mirror of
https://github.com/open-webui/oikb.git
synced 2026-10-19 07:13:34 +00:00
fix: correct Docker config mount path to /data and improve error message (#44)
This commit is contained in:
parent
c1133ee801
commit
914f7997fd
3 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue