fix: 修复JWT密钥配置和容器内配置文件路径问题
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Has been cancelled

- 修复YAML配置文件字段格式错误(大写->小写)
- 修复JWT密钥未正确识别的问题
- 修复容器内配置文件路径问题,使用绝对路径/etc/photography-api.yaml
- 修复迁移工具配置文件路径
- 修复Dockerfile工作目录设置

解决了'field auth.access_secret is not set'的配置错误
This commit is contained in:
iriver
2025-07-15 23:22:27 +08:00
parent 377b49d2ed
commit 1f3c4adc96
4 changed files with 31 additions and 28 deletions

View File

@ -13,7 +13,7 @@ import (
"github.com/zeromicro/go-zero/rest"
)
var configFile = flag.String("f", "etc/photography-api.yaml", "the config file")
var configFile = flag.String("f", "/etc/photography-api.yaml", "the config file")
func main() {
flag.Parse()