按照文档 seafile-manual-cn 设置了 Notification Server docker 镜像启动是成功的,但是没有暴露端口 8083 文档中使用 浏览器访问http://127.0.0.1:8083/ping 无法成功,就没有8083这个端口
如果客户端与通知服务器协同工作,那么在 seafile.log 或 seadrive.log 中会有一条日志消息。 Notification server is enabled on the remote server xxxx 这个日志也没有看到
多次检查,确定按照文档设置的,但是docker中8083端口就没暴露,请问哪边有问题?
浏览器应该是无法直接访问的。你应该进入容器内部访问 docker exec -it seafile bash curl -I http://127.0.0.1:8003/
把 seafile.nginx.conf 中 lacation /notification/ping 和 lacation /notification 两个字段中的 127.0.0.1 替换成 notification-server 就可以了,在 seafile 客户端的日志中可以看到Notification server is enabled on the remote server xxxx