Skip to content

Docker and .oikb.yaml #116

Description

@LizardWizardGB

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions