refactor: 调整默认生产环境配置,禁用非生产环境下的Swagger文档访问

This commit is contained in:
wizardchen
2025-12-22 14:36:44 +08:00
committed by lyingbug
parent ac21f81dda
commit d6c3636b20
3 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ services:
- COS_APP_ID=${COS_APP_ID:-}
- COS_PATH_PREFIX=${COS_PATH_PREFIX:-}
- COS_ENABLE_OLD_DOMAIN=${COS_ENABLE_OLD_DOMAIN:-}
- GIN_MODE=${GIN_MODE:-}
- GIN_MODE=${GIN_MODE:-release}
- DB_DRIVER=postgres
- DB_HOST=postgres
- DB_PORT=5432