ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
13.78k stars 1.31k forks source link

How can I change the port for perplexica-frontend and perplexica-backend? #71

Closed wwjCMP closed 5 months ago

wwjCMP commented 5 months ago

I want to change their ports to 3010 and 3011 respectively, how should I do it? I have made changes to the corresponding parts of the docker-compose.yaml and config.toml files, but the web page still cannot be opened correctly.

wwjCMP commented 5 months ago

[GENERAL] PORT = 3011 # Port to run the server on SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"

wwjCMP commented 5 months ago

services: searxng: build: context: . dockerfile: searxng.dockerfile expose:

networks: perplexica-network:

ItzCrazyKns commented 5 months ago

You need to rebuild the images, making sure the previous ones are deleted

wwjCMP commented 5 months ago

image

ItzCrazyKns commented 5 months ago

image

Don't edit the internal port, make it 3010:3000

wwjCMP commented 5 months ago

image

Don't edit the internal port, make it 3010:3000

image image

After the modification, I can load the chat model, but I cannot load the embedding model.

ItzCrazyKns commented 5 months ago

Open up the application tab (from the developer menu) and delete everything from the localStorage. The issue will be resolved. After doing that perform a hard refresh CTRL+SHIFT+R