TangSengDaoDao / TangSengDaoDaoServer

高颜值 IM 即时通讯,聊天
https://tsdaodao.com
Apache License 2.0
2.35k stars 328 forks source link

docker compose启动,访问接口没响应 #74

Closed githubyong closed 10 months ago

githubyong commented 10 months ago

现象

docker-compose 启动,操作系统为centos7.2,firewalld已关闭,访问http:$ip:8090/v1/health http:$ip:5300/web都没有响应

日志

CONTAINER ID   IMAGE                                                                     COMMAND                  CREATED          STATUS                    PORTS                                                                                                                             NAMES
89af1e94f48d   registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoserver:latest    "/home/app api"          17 minutes ago   Up 17 minutes (healthy)   0.0.0.0:8090->8090/tcp, :::8090->8090/tcp                                                                                         tsdd-tangsengdaodaoserver-1
7734f7f484e3   adminer:latest                                                            "entrypoint.sh docke…"   18 minutes ago   Up 17 minutes             0.0.0.0:8306->8080/tcp, :::8306->8080/tcp                                                                                         tsdd-adminer-1
7bda35f0f2bd   redis:7.2.3                                                               "docker-entrypoint.s…"   18 minutes ago   Up 17 minutes (healthy)   6379/tcp                                                                                                                          tsdd-redis-1
aebf201d456c   registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:latest                "/home/app --config=…"   18 minutes ago   Up 17 minutes             0.0.0.0:5100->5100/tcp, :::5100->5100/tcp, 0.0.0.0:5200->5200/tcp, :::5200->5200/tcp, 0.0.0.0:5300->5300/tcp, :::5300->5300/tcp   tsdd-wukongim-1
dd55be967336   registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaomanager:latest   "sh /docker-entrypoi…"   18 minutes ago   Up 17 minutes             0.0.0.0:83->80/tcp, :::83->80/tcp                                                                                                 tsdd-tangsengdaodaomanager-1
d65566f03499   minio/minio:RELEASE.2023-07-18T17-49-40Z                                  "/usr/bin/docker-ent…"   18 minutes ago   Up 17 minutes (healthy)   0.0.0.0:9000-9001->9000-9001/tcp, :::9000-9001->9000-9001/tcp                                                                     tsdd-minio-1
5b1bf29380c0   mysql:8.0.33                                                              "docker-entrypoint.s…"   18 minutes ago   Up 17 minutes (healthy)   3306/tcp, 33060/tcp                                                                                                               tsdd-mysql-1
db09775f1739   registry.cn-shanghai.aliyuncs.com/wukongim/tangsengdaodaoweb:latest       "sh /docker-entrypoi…"   18 minutes ago   Up 17 minutes             0.0.0.0:82->80/tcp, :::82->80/tcp                                                                                                 tsdd-tangsengdaodaoweb-1
tangtaoit commented 10 months ago

云厂商(比如腾讯云或阿里云)的后台管理里也需要打开端对应的端口

githubyong commented 10 months ago

yum update 更新内核,重新设置防火墙后服务启动正常