Hi there,
There seems to be some kind of issue with Docker.
docker-compose.yml
oikb:
image: ghcr.io/open-webui/oikb:latest
container_name: oikb
environment:
- OPEN_WEBUI_URL=http://open-webui:8080
- OPEN_WEBUI_API_KEY=${OPEN_WEBUI_API_KEY}
- OIKB_API_KEY=${OIKB_API_KEY}
- LOG_FORMAT=json
volumes:
- ./.oikb.yaml:/app/.oikb.yaml:ro
command: daemon
ports:
- "8080:8080"
depends_on:
- open-webui
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health/ready"]
interval: 30s
timeout: 5s
When I start the container it creates the folder ".oikb.yaml" on the host and in the logs of the oikb container it says:
oikb | IsADirectoryError: [Errno 21] Is a directory: '.oikb.yaml'
and the container will just keep restarting.
Why is Docker creating a folder instead of a yaml file?
Hi there,
There seems to be some kind of issue with Docker.
docker-compose.yml
oikb:
image: ghcr.io/open-webui/oikb:latest
container_name: oikb
environment:
- OPEN_WEBUI_URL=http://open-webui:8080
- OPEN_WEBUI_API_KEY=${OPEN_WEBUI_API_KEY}
- OIKB_API_KEY=${OIKB_API_KEY}
- LOG_FORMAT=json
volumes:
- ./.oikb.yaml:/app/.oikb.yaml:ro
command: daemon
ports:
- "8080:8080"
depends_on:
- open-webui
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health/ready"]
interval: 30s
timeout: 5s
When I start the container it creates the folder ".oikb.yaml" on the host and in the logs of the oikb container it says:
oikb | IsADirectoryError: [Errno 21] Is a directory: '.oikb.yaml'
and the container will just keep restarting.
Why is Docker creating a folder instead of a yaml file?