ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] An error will be reported when the proxy_url environment variable uses a domain name(deploy using docker)
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Bug Description
When deploying using docker, an error will be reported if the proxy url uses a domain name.
It only works if you change it to a numeric IP address
### Steps to Reproduce
docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=your-password \
-e PROXY_URL=http://domina_name:7890 \
yidadaa/chatgpt-next-web
### Expected Behavior
docker runs successfully
### Screenshots

### Deployment Method
- [X] Docker
- [ ] Vercel
- [ ] Server
### Desktop OS
truenas
### Desktop Browser
_No response_
### Desktop Browser Version
_No response_
### Smartphone Device
_No response_
### Smartphone OS
_No response_
### Smartphone Browser
_No response_
### Smartphone Browser Version
_No response_
### Additional Logs
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.