File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 33# 2. 替换所有占位符为实际值
44# 3. 确保 .env 文件不会被提交到版本控制系统
55
6+ # ========== 镜像版本 ==========
7+ # WeKnora 镜像版本标签,可选值: latest(稳定版), main(最新开发版)
8+ # WEKNORA_VERSION=latest
9+
610# gin mod
711# 可选值: debug(开发模式,有详细日志), release(生产模式,禁用Swagger文档)
812GIN_MODE = release
Original file line number Diff line number Diff line change 11services :
22 frontend :
3- image : wechatopenai/weknora-ui:latest
3+ image : wechatopenai/weknora-ui:${WEKNORA_VERSION:- latest}
44 build :
55 context : ./frontend
66 args :
@@ -18,7 +18,7 @@ services:
1818 restart : unless-stopped
1919
2020 app :
21- image : wechatopenai/weknora-app:latest
21+ image : wechatopenai/weknora-app:${WEKNORA_VERSION:- latest}
2222 build :
2323 context : .
2424 dockerfile : docker/Dockerfile.app
@@ -119,7 +119,7 @@ services:
119119 - " host.docker.internal:host-gateway"
120120
121121 docreader :
122- image : wechatopenai/weknora-docreader:latest
122+ image : wechatopenai/weknora-docreader:${WEKNORA_VERSION:- latest}
123123 build :
124124 context : .
125125 dockerfile : docker/Dockerfile.docreader
You can’t perform that action at this time.
0 commit comments