SamurAIGPT / EmbedAI

An app to interact privately with your documents using the power of GPT, 100% privately, no data leaks

Home Page:https://www.thesamur.ai/?utm_source=github&utm_medium=link&utm_campaign=github_privategpt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change ports

angel1st opened this issue · comments

commented

Is there an easy way to change ports inside the code - both client and server? I looked at it, but didn't able to find anything specific. I would like to dockerize both client and server, and make sure ports are inside docker-composer file.
Thanks!

Yes, you can run the app like with custom port:

Replace this:
app.run(host="0.0.0.0", debug = False)
with this:
app.run(host="0.0.0.0", port=3001, debug = False)

And update 5000 to 3001 in client side.

commented

Thanks @nesimtunc! This will solve server side port configuration. How about client side port config?