Comments (19)
No problem. 👍
from chatgpt-ui.
Please note that 127.0.0.1
points to the container's internal address. I suggest using the following address.
backend-web-server:
image: wongsaang/chatgpt-ui-web-server:latest
environment:
- BACKEND_URL=http://backend-wsgi-server:8000
from chatgpt-ui.
Another solution could be referenced at:
from chatgpt-ui.
Thanks for the suggestion. I have now specified the IP on the host running docker, recreated the containers, and still 404 trying to access /admin.
Any other ideas?
from chatgpt-ui.
try this
- APP_DOMAIN=https://your-host-address:2428
from chatgpt-ui.
Can you please send the complete content of your compose.yml file again?
from chatgpt-ui.
No problem. Here it is:
version: '3'
services:
client:
image: wongsaang/chatgpt-ui-client:latest
restart: always
environment:
- SERVER_DOMAIN=https://MYDOMAIN.COM
- NUXT_PUBLIC_APP_NAME='ChatGPT UI'
- NUXT_PUBLIC_TYPEWRITER=true
- NUXT_PUBLIC_TYPEWRITER_DELAY=100
depends_on:
- backend-web-server
ports:
- '2480:80'
networks:
- chatgpt_ui_network
backend-wsgi-server:
image: wongsaang/chatgpt-ui-wsgi-server:latest
restart: always
environment:
- APP_DOMAIN=HOSTIP:2428
# - DB_URL=postgres://postgres:postgrespw@localhost:49153/chatgpt # If this parameter is not set, the built-in Sqlite will be used by default. It should be noted that if you do not connect to an external database, the data will be lost after the container is destroyed.
- DJANGO_SUPERUSER_USERNAME=admin # default superuser name
- DJANGO_SUPERUSER_PASSWORD=password # default superuser password
- [email protected] # default superuser email
# If you want to use the email verification function, you need to configure the following parameters
# - EMAIL_HOST=SMTP server address
# - EMAIL_PORT=SMTP server port
# - EMAIL_HOST_USER=
# - EMAIL_HOST_PASSWORD=
# - EMAIL_USE_TLS=True
volumes:
- /volume1/docker/chatpgpt-ui/db.sqlite3:/app/db.sqlite3
ports:
- '8000:8000'
networks:
- chatgpt_ui_network
backend-web-server:
image: wongsaang/chatgpt-ui-web-server:latest
restart: always
environment:
- BACKEND_URL=http://HOSTIP:8000
ports:
- '2428:80'
depends_on:
- backend-wsgi-server
networks:
- chatgpt_ui_network
networks:
chatgpt_ui_network:
driver: bridge
I'm no Docker expert, but could my issue lie with all the port changes? Perhaps you could use "expose" to allow the containers to communicate with each other on the default without interfering with the Docker host's ports? We could then specify a single port forward for the web client (in my case, 2480:80).
from chatgpt-ui.
Hello,
I have reviewed your configuration file and couldn't find any issues.
May I ask if you are able to access the front-end page through http://HOSTIP
? Also, are you accessing the management panel through http://HOSTIP:2428/admin
?
from chatgpt-ui.
I can access via port 2480
:
But not /admin
:
from chatgpt-ui.
Haha,
The management panel should be accessed through the backend service. According to your configuration, you should access it through http://hostip:2428/admin.
from chatgpt-ui.
Progress!
Cannot log in with default credentials, though:
from chatgpt-ui.
The environment variable APP_DOMAIN of the backend-wsgi-server
is equal to the IP address and port of the management panel you are actually requesting.
👇
from chatgpt-ui.
What a champ! I had corrupted that line. 😉
I'm in!
from chatgpt-ui.
Created test user:
Doesn't successfully log in, though:
URL is https://MYDOMAIN.COM
from chatgpt-ui.
👍 Before figuring out the reason, you can directly use the default super user login.
from chatgpt-ui.
Same issue though, I'm afraid. Superuser cannot log in to the non-admin site. No error, just does nothing. :/
from chatgpt-ui.
sorry, I cannot reproduce your issue.
from chatgpt-ui.
No problem. I'll simply start again and see what happens. 👍
from chatgpt-ui.
Hello, if there is nothing else to add, I will close this issue.
from chatgpt-ui.
Related Issues (20)
- 页面滚动建议
- add lang HOT 3
- Use console.log, there is no printing
- embedding_document 接口报 500 错误 HOT 2
- docker中的chatgpt_ui_wsgi_server image可以修改吗,还是直接拉docker.io的镜像
- 运行 yarn dev后卡在Vite client warmed up in 22767ms
- 为什么使用ssr,实现一个AI对话UI
- 后端无法添加account.apps.AccountConfig去自定义user
- support image/files upload HOT 1
- 添加api key后,访问客户端提问响应超时
- 需要支持google的gemini,我测试了不输gpt3.5,还免费
- Unable to set up the backend. With Traefik on Docker Swarm HOT 2
- Exceeded current quota
- 添加正确的api key,服务器使用达拉斯的服务器,请求失败
- 页面显示问题 HOT 2
- ERROR input.replace is not a function
- 为什么我用户名和密码输入正确,同时服务端返回 "POST /admin/login/?next=/admin/ HTTP/1.1" 200 4303,但依旧登录不进去
- 自定义本地模型部署
- 比较喜欢这个界面。但尝试在 VPS 上使用 docker 安装配置后,碰到了一系列奇怪的问题,最后只好放弃。
- node .output/server/index.mjs HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-ui.