opt: 优化 docker-compse 构建脚本,修复后端路由 Bug

This commit is contained in:
RockYang
2023-06-23 18:04:16 +08:00
parent 1795a891ce
commit d03ed6570b
8 changed files with 23 additions and 19 deletions

View File

@@ -2,21 +2,20 @@ version: '3'
services:
# 后端 API 程序
chatgpt-plus-go:
image: registry.cn-hangzhou.aliyuncs.com/geekmaster/chatgpt-plus-go:v3.0.0
# image: chatplus-go:v3.0.0
image: registry.cn-hangzhou.aliyuncs.com/geekmaster/chatgpt-plus-go:v3.0.1
# image: chatgpt-plus-go:v3.0.1
container_name: chatgpt-plus-go
#build: ./
restart: always
# network_mode: host
# network_mode: host
ports:
- "5678:5678"
- "6789:5678"
volumes:
- ./conf/config.toml:/var/www/app/config.toml
# 前端应用
chatgpt-vue:
image: registry.cn-hangzhou.aliyuncs.com/geekmaster/chatgpt-plus-vue:v3.0.0
# image: chatplus-vue:v3.0.0
image: registry.cn-hangzhou.aliyuncs.com/geekmaster/chatgpt-plus-vue:v3.0.1
# image: chatgpt-plus-vue:v3.0.1
container_name: chatgpt-plus-vue
#build: ./
restart: always