Removed the API route in favour of server side rendering; Updated documentation to list environment variables (#9)
- Use server side rendering in the `getServerEnv` library function, rather than using the API route - Updated `README.md` to list the relevant environment variables for the frontend and backend - Updated `NETWORKING.md` to reflect the changes made in `docker-compose.yaml`
This commit is contained in:
parent
ec158c0cdf
commit
f6ae79b0b5
4 changed files with 41 additions and 50 deletions
17
README.md
17
README.md
|
|
@ -97,6 +97,23 @@ There are mainly 2 ways of installing Perplexica - With Docker, Without Docker.
|
|||
|
||||
See the [installation documentation](https://github.com/ItzCrazyKns/Perplexica/tree/master/docs/installation) for more information like exposing it your network, etc.
|
||||
|
||||
### Environment Variables
|
||||
|
||||
You can use environment variables to override the settings provided in your `config.toml` file.
|
||||
|
||||
##### Frontend Environment Variables
|
||||
- `BACKEND_API_URL`
|
||||
- `BACKEND_WS_URL`
|
||||
|
||||
##### Backend Environment Variables
|
||||
- `PORT`
|
||||
- `SIMILARITY_MEASURE`
|
||||
- `OPENAI_API_KEY`
|
||||
- `GROQ_API_KEY`
|
||||
- `ANTHROPIC_API_KEY`
|
||||
- `SEARXNG_API_ENDPOINT`
|
||||
- `OLLAMA_API_ENDPOINT`
|
||||
|
||||
### Ollama Connection Errors
|
||||
|
||||
If you're encountering an Ollama connection error, it is likely due to the backend being unable to connect to Ollama's API. To fix this issue you can:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue