LocalAI-frontend
LocalAI-frontend copied to clipboard
Getting started with Docker is incomplete
You provide a sample docker-compose (nice!), and say that is the easy way to get started, however your only step is to copy the sample docker-compose to the local-ai directory... And that example does not include any image to pull, or the Dockerfile from which to build - the way it is written I believe is only going to build the api again?
I'm sure it's an easy step, but I'm not sure what the proper step should be to get the docker compose working.
You provide a sample docker-compose (nice!), and say that is the easy way to get started, however your only step is to copy the sample docker-compose to the local-ai directory... And that example does not include any image to pull, or the Dockerfile from which to build - the way it is written I believe is only going to build the api again?
I'm sure it's an easy step, but I'm not sure what the proper step should be to get the docker compose working.
The sample docker compose does refer to the Dockerfile, but yes the images are there on LocalAI's page where the rest of the images are hosted, I will update it accordingly, thanks for bringing the oversight to notice!
there's no sample .env file.....
I had the same issue, First I renamed the duplicate files in the localAI folder to something like localai.Dockerfile localai.otherfiles, then I copied the other files from the frontend folder into the main localAI folder and ran the build command and it worked. I used the existing .env file, perhaps thats why it can't find my models....
I had the same issue, First I renamed the duplicate files in the localAI folder to something like localai.Dockerfile localai.otherfiles, then I copied the other files from the frontend folder into the main localAI folder and ran the build command and it worked. I used the existing .env file, perhaps thats why it can't find my models....
The models are supposed to be in the /models dir as per the localAI repo! It will just pick them up, or you can change the path in the sample docker compose.
Also, the project will be recieving regular updates soon, I am back to maintaining this :)