全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: 浪迹江湖88

66gpt升级版,支持插件机制,docker-compose一键部署

  [复制链接]
 楼主| 发表于 2023-7-5 15:21:17 | 显示全部楼层

docker-compose.yml

    ports:
      - 3456:80

发表于 2023-7-5 15:26:59 | 显示全部楼层
浪迹江湖88 发表于 2023-7-5 15:09
Security -> Settings
level 设置为I'm Under Attack! 就会根据下面的时间来跳出验证了 ...

感谢
发表于 2023-7-5 15:30:11 | 显示全部楼层


大佬,配置文件麻烦你帮我看下的,为什么老是搭建不成的呢?
发表于 2023-7-5 15:30:38 | 显示全部楼层
docker-compose 部署的,提示下面的错误,应该是连不上数据库,但不懂哪里去修改,麻烦指导一下,谢谢
ERROR (app/42): Failed to start the server:SequelizeConnectionError: Host '172.21.0.4' is not allowed to connect to this MySQL server
 楼主| 发表于 2023-7-5 15:52:04 | 显示全部楼层
nokairg 发表于 2023-7-5 15:30
大佬,配置文件麻烦你帮我看下的,为什么老是搭建不成的呢?

报啥错了
 楼主| 发表于 2023-7-5 15:59:19 | 显示全部楼层
wenhuoyi 发表于 2023-7-5 15:30
docker-compose 部署的,提示下面的错误,应该是连不上数据库,但不懂哪里去修改,麻烦指导一下,谢谢
ERR ...

mysql 这句留着的吗?

    command: --bind-address=0.0.0.0
发表于 2023-7-5 16:00:54 | 显示全部楼层
  1. root@ubuntu:~/ais.ninja# docker logs ais-ninja-app
  2. Starting nginx: nginx.
  3. yarn run v1.22.19
  4. $ NODE_ENV=production ts-node src/start.ts
  5. root@ubuntu:~/ais.ninja#
复制代码

 楼主| 发表于 2023-7-5 16:14:56 | 显示全部楼层

这我也看不出来,加群吧:https://t.me/+rYeRVfbBRKY0MjBh
发表于 2023-7-5 16:36:44 | 显示全部楼层
  1. WARN[0000] The "MYSQL_PASSWORD" variable is not set. Defaulting to a blank string.
  2. WARN[0000] The "MYSQL_PASSWORD" variable is not set. Defaulting to a blank string.
  3. [+] Running 3/3
  4. ⠿ Container ais-ninja-redis  Running                                                                                                                                             0.0s
  5. ⠿ Container ais-ninja-mysql  Started                                                                                                                                            21.4s
  6. ⠿ Container ais-ninja-app    Started      
复制代码


  1. ERROR (app/44): Failed to start the server:SequelizeConnectionError: Host '172.18.0.4' is not allowed to connect to this MySQL server
  2. error Command failed with exit code 1.
  3. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  4. Starting nginx: nginx.
  5. yarn run v1.22.19
  6. $ NODE_ENV=production ts-node src/start.ts
复制代码
发表于 2023-7-5 17:40:14 | 显示全部楼层
浪迹江湖88 发表于 2023-7-5 15:59
mysql 这句留着的吗?

    command: --bind-address=0.0.0.0

留着的啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-25 09:32 , Processed in 0.061062 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表