Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore/ui-demo: Sets up Open WebUI #12

Merged
merged 2 commits into from
Dec 13, 2024
Merged

chore/ui-demo: Sets up Open WebUI #12

merged 2 commits into from
Dec 13, 2024

Conversation

akxcv
Copy link
Collaborator

@akxcv akxcv commented Dec 12, 2024

Sets up Open WebUI in docker-compose. Run make run-demo to build NekkoAPI with a GUI.

Closes #6

@akxcv akxcv self-assigned this Dec 12, 2024
@akxcv akxcv marked this pull request as ready for review December 12, 2024 13:35
ui:
image: ghcr.io/open-webui/open-webui:0.4.8
volumes:
- ./ui:/app/backend/data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we use named volume instead of bind volume? That way we won't leave garbage in the source tree (and will not accidentally include chat logs into docker image, as ui wasn't included into .dockerignore ;) ).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I'll change this to a bind volume. I've set it up this way because I like having easier access to volumes when debugging, but it's not needed here.

@akxcv akxcv merged commit 83c6e00 into main Dec 13, 2024
1 check passed
@akxcv akxcv deleted the chore/ui-demo branch December 13, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Example UI to "play" with the API
2 participants