ItzCrazyKns / Perplexica

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

Kubernetes / Helm package for Perplexica #145

Open michael-willingham opened 6 months ago

michael-willingham commented 6 months ago

It would be great to see a Helm chart for this to run easily on Kubernetes! A bit busy with my 9-5 job at the moment, but might be able to take a look at it in the coming weeks.

delta-whiplash commented 3 months ago

Hello @michael-willingham did you have time to work on it ?

michael-willingham commented 3 months ago

Sadly I have not had the time! Work and life have kept me quite busy. This might be better off if someone else could take a look tbh

delta-whiplash commented 3 months ago

ok no worries could you just automate at least the docker container creation with the github actions template. With this (5min of clicks) you can automate the build and publish of your docker image on this github repo soo I can write a kubernetes deployment to do some testings

you can do it like this : https://github.com/ItzCrazyKns/Perplexica/new/main?filename=.github%2Fworkflows%2Fdocker-publish.yml&workflow_template=ci%2Fdocker-publish

michael-willingham commented 3 months ago

This is not my repo, I'm just a user! That's a question for @ItzCrazyKns

timoa commented 1 month ago

Hey @ItzCrazyKns! I just started to work on the Helm Chart based on the current Docker Compose file. I'm closed to push the PR. Just need to finish the PV&PVC.

timoa commented 1 month ago

Hi, @ItzCrazyKns! I was able to deploy Perplexica a few minutes ago on my Kubernetes cluster 🎉

Screenshot 2024-10-24 at 07 56 35

But the CORS config is restricting access to the backend API to http://127.0.0.1, where I deployed it with a public URL:

Screenshot 2024-10-24 at 07 48 50

To solve that, I will check how the CORS is configured on the backend side.

delta-whiplash commented 1 month ago

Nice work