-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for not local installations #15
Comments
Would installing and using docker in your environment not work? I agree remote install would be best, and it’s on my list to attempt a remote deployment. I figured docker is the first step and someone could make it work that way already |
There's no problem running on local machine, but when I run externally, client still tries to go to "localhost:3080", for example, and it seems that there more than one thing that assumes that everything is on a single machine really. I am glad that it is in your todo list, that'll be great |
You just need to search and replace around 12 occurrences of http://localhost:3080 with http(s)://your-url-here.com Better still add it as a 'BASE_URL' .env variable |
I was able to spin up a docker this morning on commit 17a3fb5 I did notice the parsing was a little wonky for the "HOST" env. I used Even worked with my traefik reverse proxy too. Worked with both my openai key and my bing cookie. |
Thanks so much @Kristovich very useful information. Tagging @wtlyu in case they get to it before me. |
Hello sir, I'm working to fix this commit #19 . I have tried I have tested on |
I'm using the docker compose from da62e9a. I built the api and client containers as instructed on the readme. I also added
If
And while I'm at it: If
So I had to remove the PROXY env out of the docker-compose file for it to work. I hope this helps. |
That's great! @danny-avila told me last night that this code is incompatible with existing docker compose. I haven't test the docker part after checking on the local environment. I will double check the docker part. My suspicion now is that it seems that the parsing of the env file is different, in docker. BTW do you have a local deployment? Can you help me to check if the server work well when |
I tried making a local environment just now. It wouldn't build for some reason, so I'll probably try again in the morning. But I think you're right. The docker compose parsed the |
Thank you! I have experience on docker and just do some research on your test. I will write in another issue #25 since it's not related to this issue. |
Wow, thank you, @danny-avila and @wtlyu. With the last @wtlyu's PR everything seems to work great for me. |
Hello, I hope this message finds you well. I was exploring the chatgpt-clone project and noticed that it appears to be designed to run on a local machine and only be accessed from there. It would be incredibly beneficial if it were possible to install the project on an external machine as well. I attempted this in my home lab environment, but unfortunately, I was unable to make it work. Thank you for your time and consideration
The text was updated successfully, but these errors were encountered: