opt: optimize the build script and docker-compose yaml file

This commit is contained in:
RockYang
2023-07-31 17:31:02 +08:00
parent c6062ee70e
commit 54fe4b7588
5 changed files with 9 additions and 9 deletions

View File

@@ -2,14 +2,14 @@ version: '3'
services:
# 后端 API 程序
chatgpt-plus-go:
image: chatgpt-plus-go:v3.0.5
image: registry.cn-hangzhou.aliyuncs.com/geekmaster/chatgpt-plus-go:v3.0.5.2
container_name: chatgpt-plus-go
restart: always
environment:
- DEBUG=false
- CONFIG_FILE=config.toml
ports:
- "6789:5678"
- "5678:5678"
volumes:
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime
- ./conf/config.toml:/var/www/app/config.toml
@@ -17,7 +17,7 @@ services:
# 前端应用
chatgpt-vue:
image: chatgpt-plus-vue:v3.0.5
image: registry.cn-hangzhou.aliyuncs.com/geekmaster/chatgpt-plus-vue:v3.0.5.2
container_name: chatgpt-plus-vue
restart: always
ports: