Before
- install git & lfs
- install docker
- install ollama and llm
Install
- git clone https://github.com/ItzCrazyKns/Perplexica
- goto directory of perplexica
- rename .\Perplexica\sample.config.toml .\Perplexica\config.toml
- powershell> docker compose up -d (--build)
- open localhost:3000
Default Port Change [3001]
- open config.toml
- find [GENERAL] PORT = 3001 # Port to run the server on
- change 3001 to your_port
- open docker-compose.yaml
- find ports: - 3001:3001
- change 3001 to your_port both
- find 2line like NEXT_PUBLIC
- change 3001 to your_port
Run on public IP
- open config.toml
- find [API_ENDPOINTS] SEARXNG = and OLLAMA =
- change to your_ip
- open docker-compose.yaml
- find 2line like NEXT_PUBLIC_
- change to your_public_ip
- config your win's env
- OLLAMA_HOST=0.0.0.0
UPDATE
- stop perplexica on docker
- goto directory of perplexica
- git pull origin master
- check config.toml and docker-compose.yaml
- powershell> docker compose up -d --build
沒有留言:
張貼留言