fix docker-compose up -d error

This commit is contained in:
litongmacos 2024-03-12 17:36:59 -10:00
parent 74c7a2a414
commit 085d96d855
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
Listen = "0.0.0.0:5678" Listen = "0.0.0.0:5678"
ProxyURL = "" # 如 http://127.0.0.1:7777 ProxyURL = "" # 如 http://127.0.0.1:7777
MysqlDns = "root:12345678@tcp(172.22.11.200:3307)/chatgpt_plus?charset=utf8&parseTime=True&loc=Local" MysqlDns = "root:12345678@tcp(chatgpt-plus-mysql:3306)/chatgpt_plus?charset=utf8&parseTime=True&loc=Local"
StaticDir = "./static" # 静态资源的目录 StaticDir = "./static" # 静态资源的目录
StaticUrl = "/static" # 静态资源访问 URL StaticUrl = "/static" # 静态资源访问 URL
AesEncryptKey = "" AesEncryptKey = ""
@ -15,9 +15,9 @@ WeChatBot = false
Password = "admin123" # 如果是生产环境的话,这里管理员的密码记得修改 Password = "admin123" # 如果是生产环境的话,这里管理员的密码记得修改
[Redis] # redis 配置信息 [Redis] # redis 配置信息
Host = "localhost" Host = "chatgpt-plus-redis"
Port = 6379 Port = 6379
Password = "" Password = "12345678"
DB = 0 DB = 0
[ApiConfig] # 微博热搜,今日头条等函数服务 API 配置,此为第三方插件服务,如需使用请联系作者开通 [ApiConfig] # 微博热搜,今日头条等函数服务 API 配置,此为第三方插件服务,如需使用请联系作者开通

View File

@ -25,7 +25,7 @@ services:
volumes : volumes :
- ./redis/data:/data - ./redis/data:/data
ports: ports:
- "6380:6379" - "6379:6379"
# 后端 API 程序 # 后端 API 程序
chatgpt-plus-api: chatgpt-plus-api: