openui icon indicating copy to clipboard operation
openui copied to clipboard

I created a docker compose file for easily deployment on docker but I am a beginner in docker have you and idea what I have to edit

Open alfi4000 opened this issue 1 year ago • 9 comments

I created a docker compose file for easily deployment on docker but I am a beginner in docker have you and idea what I have to edit to get rid of the error here?: Bildschirmfoto 2024-04-03 um 17 50 56

@vanpelt

alfi4000 avatar Apr 04 '24 00:04 alfi4000

Its only in the settings tab everything else works!

alfi4000 avatar Apr 04 '24 00:04 alfi4000

If that works the users could run it faster just by: git clone repo cd openui cd backend docker-compose up -d

alfi4000 avatar Apr 04 '24 00:04 alfi4000

Because of my lack of knowledge I asked chatgpt but it don't know wich file executes the function so it not know how it need to be edited it gave me answers like this:

It looks like you have an error in your web application. The error states that a <Select.Item /> element must have a value-prop that is not empty. This is because the value of Select can be set to an empty string to delete the selection and display the placeholder.

This error usually occurs when you try to render a <Select.Item /> element with an empty or undefined value prop. You should ensure that all <Select.Item /> elements in your application have a value-prop that is not empty.

Here is a simple example of how you can correct it:

In this example, each <Select.Item /> element has a value-prop that is not empty. If you still have problems, let me know and I will do my best to help you.

alfi4000 avatar Apr 04 '24 01:04 alfi4000

This is now fixed in the main branch. It was an issue with the Ollama settings bar, I fixed it here. I'll keep this issue open for now as it would be nice to add a docker-compose example.

vanpelt avatar Apr 04 '24 20:04 vanpelt

Ok I'll recreate the container and hold here up to date about the result!

alfi4000 avatar Apr 04 '24 21:04 alfi4000

Yeah the Issue Is Resolved The Only thing you need to add to the project is the docker compose file and everything is good to go! https://github.com/wandb/openui/files/14860009/docker-compose.yaml.zip

alfi4000 avatar Apr 04 '24 22:04 alfi4000

I have made a show case video it's up to you if you want to use it on the GitHub page: https://youtu.be/tQYwZL5Ke-Y

It is not Listed only visible over this link! Let me know if I should remove it from here!

alfi4000 avatar Apr 04 '24 22:04 alfi4000

Can you by any chance tell me where the url for Ollama is set to change the url because I take the Ollama source from a different instance!?

alfi4000 avatar Apr 04 '24 22:04 alfi4000

@alfi4000 I got it all working in main within Docker Compose! See this section of the README.

vanpelt avatar Apr 05 '24 08:04 vanpelt

@alfi4000 I got it all working in main within Docker Compose! See this section of the README.

Yup Really Nice!👍

alfi4000 avatar Apr 05 '24 18:04 alfi4000