Open walkacross opened 8 months ago
Hi 👋 Do you have a DB running locally in another container ? If so you need to make it accessible from inside the docker container see here
If you don't have a DB running, you can use the chat-ui-db
image instead, in order to have it built-in.
Hi 👋 Do you have a DB running locally in another container ? If so you need to make it accessible from inside the docker container see here
If you don't have a DB running, you can use the
chat-ui-db
image instead, in order to have it built-in.
hi, thanks for yourkind reply. I solved this problem by set the --network argument in docker command.
It's would be better if the chat-ui readme complete docker command to make chat-ui really runnable. considering the 27017 port of the host might have been used.
Looks like the image is build with the variables ? Anyway that i can build the images without vars and set when starting the container ?
嗨 👋 您是否在另一个容器中本地运行数据库?如果是,您需要使其从 docker 容器内部可访问,请参见此处 如果您没有运行数据库,
chat-ui-db
则可以使用图像来将其内置。嗨,谢谢你的回复。我通过在docker命令中设置--network参数解决了这个问题。
如果 chat-ui readme 有完整的 docker 命令可以让 chat-ui 真正运行,那就更好了。 考虑到主机的 27017 端口可能已经被使用。
so,the --network add where?run chatui image or run mangodb image?
step 1: build the chat-ui image
step 2:
step 3: run a contrainer
results: when load localhost:3000
@nsarrazin