You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I start up my docker compose setup (I have not directly hosted it from your git repository, I built my own docker-compose.yaml) I get this error while connecting to the frontend. I am using traefik in front of the frontend to secure it with SSL, but I also tried to get it working while connecting to the direct frontend ip and port.
[GENERAL]
PORT = 3001# Port to run the server onSIMILARITY_MEASURE = "cosine"# "cosine" or "dot"KEEP_ALIVE = "5m"# How long to keep Ollama models loaded into memory. (Instead of using -1 use "-1m")
[API_KEYS]
OPENAI = "REDACTED"# OpenAI API key - sk-1234567890abcdef1234567890abcdefGROQ = ""# Groq API key - gsk_1234567890abcdef1234567890abcdefANTHROPIC = "REDACTED"# Anthropic API key - sk-ant-1234567890abcdef1234567890abcdefGEMINI = ""# Gemini API key - sk-1234567890abcdef1234567890abcdef
[API_ENDPOINTS]
SEARXNG = "http://searxng:8080"# SearxNG API URLOLLAMA = "http://ollama:11434"# Ollama API URL - http://host.docker.internal:11434
Note:
I was forced to change the app.dockerfile because I was not able to get it connected with my other services:
FROM node:20.18.0-alpine
#ENV NEXT_PUBLIC_WS_URL=${NEXT_PUBLIC_WS_URL}#ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_WS_URL}WORKDIR /home/perplexica
COPY ui /home/perplexica/
RUN yarn install --frozen-lockfile
RUN yarn build
CMD ["yarn", "start"]
Expected behavior
A working frontend to use perplexica
Screenshots
Additional context
Would be nice to find a solution, seems really hard for me to host this application outside of the git-repository docker-compose setup and I dont know why. I also found this to fix my problems with the dockerfile, but maybe this is giving me the problems I have now:
Describe the bug
If I start up my docker compose setup (I have not directly hosted it from your git repository, I built my own docker-compose.yaml) I get this error while connecting to the frontend. I am using traefik in front of the frontend to secure it with SSL, but I also tried to get it working while connecting to the direct frontend ip and port.
To Reproduce
Steps to reproduce the behavior:
Host it with this docker-compose.yaml
The config.toml file used:
Note:
I was forced to change the app.dockerfile because I was not able to get it connected with my other services:
Expected behavior
A working frontend to use perplexica
Screenshots
Additional context
Would be nice to find a solution, seems really hard for me to host this application outside of the git-repository docker-compose setup and I dont know why. I also found this to fix my problems with the dockerfile, but maybe this is giving me the problems I have now:
Thanks a lot for your work and help. Appreciate it!
The text was updated successfully, but these errors were encountered: