getumbrel / llama-gpt

A self-hosted, offline, ChatGPT-like chatbot. Powered by Llama 2. 100% private, with no data leaving your device. New: Code Llama support!
https://apps.umbrel.com/app/llama-gpt
MIT License
10.68k stars 687 forks source link

Port 3000 taken #103

Open mberman84 opened 11 months ago

mberman84 commented 11 months ago

When I try to run the server using ./run.sh --model 7b I always get

Attaching to llama-gpt-llama-gpt-api-1, llama-gpt-llama-gpt-ui-1
Error response from daemon: driver failed programming external connectivity on endpoint llama-gpt-llama-gpt-ui-1 (7300156d5d42cfcff32a8cdb054b3ddf926255eee2590562260c81914896fe6f): Bind for 0.0.0.0:3000 failed: port is already allocated

The only thing on port 3000 is docker, which is required. So not sure what to do. I tried changing everything to port 3002 but still no luck.

M0E-lnx commented 11 months ago

I ran across this myself, but I took the easy way out and just edited the docker-compose.yml file to assign the different ports.

martijnED commented 11 months ago

It depends what docker file you use, if it will have effect. With docker ps you can see what ports are already being used.