lemonai icon indicating copy to clipboard operation
lemonai copied to clipboard

several deployments iissue

Open irrikrlla opened this issue 1 year ago β€’ 4 comments

Image Following the guide in the Readme, after pulling the image and attempting to run the' docker run' command, I encountered this error.:docker: invalid spec:/app/workspace: empty section between colons.

But it can work with just removing those 2 '--volume' parameters. I would like to know if it matters to run the project without those volume settings.

Another issue is about ollama.

Image

When checking ollama, it says base URL and an API key are required. Maybe this is a bug?

Thanks a lot for the response.

irrikrlla avatar Jun 08 '25 03:06 irrikrlla

Regarding your Ollama issue, we'll address it in a separate thread.
https://github.com/hexdocom/lemonai/issues/25

For the volume parameter:

The workspace directory is where generated files are stored, and this is required. The data directory will store your data. If you don't set a data directory, your chat history and configurations won't be persistently stored; they'll only exist in the Docker cache. As for the error you're encountering, I suspect it's due to differences in syntax requirements across various shells on Windows. You might want to consult an AI for specific guidance on that.

HexdoAI avatar Jun 09 '25 08:06 HexdoAI

Regarding your Ollama issue, we'll address it in a separate thread. https://github.com/hexdocom/lemonai/issues/25

For the volume parameter:

The workspace directory is where generated files are stored, and this is required. The data directory will store your data. If you don't set a data directory, your chat history and configurations won't be persistently stored; they'll only exist in the Docker cache. As for the error you're encountering, I suspect it's due to differences in syntax requirements across various shells on Windows. You might want to consult an AI for specific guidance on that.

I give up using Windows it self, and run lemon in WSL. Later, I encountered several other docker issue like invalid mode: app/data . on windows cmd. The pattern used in the 'volume' parameter in the Read.me works fine in Linux.

The ollama issue is still there.

irrikrlla avatar Jun 10 '25 01:06 irrikrlla

Windows often has a lot of annoying little problems for Docker Use. There is nothing we can do to fix Docker or Windows. Sorry for that.

bboonnee avatar Jun 12 '25 16:06 bboonnee

Ollama could run it use the docker URL http://host.docker.internal:11434/v1 Try it~

bboonnee avatar Jun 12 '25 16:06 bboonnee