fix Deployment

This commit is contained in:
2025-07-28 15:03:18 +08:00
parent 07e644e1cf
commit 610d0f5475
5 changed files with 15 additions and 45 deletions

View File

@@ -85,40 +85,6 @@ services:
# 环境设置
ENV: production
# 服务器配置
SERVER_PORT: 8080
SERVER_MODE: release
# 数据库配置
DB_HOST: postgres
DB_PORT: 5432
DB_USER: tyapi_user
DB_PASSWORD: Pg9mX4kL8nW2rT5y
DB_NAME: tyapi
DB_SSLMODE: require
# Redis配置
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_PASSWORD: ""
# JWT配置
JWT_SECRET: JwT8xR4mN9vP2sL7kH3oB6yC1zA5uF0qE9tW
# 监控配置
TRACING_ENABLED: false
METRICS_ENABLED: false
# 日志配置
LOG_LEVEL: warn
LOG_FORMAT: json
# 短信配置
SMS_ACCESS_KEY_ID: LTAI5tKGB3TVJbMHSoZN3yr9
SMS_ACCESS_KEY_SECRET: OCQ30GWp4yENMjmfOAaagksE18bp65
SMS_SIGN_NAME: 天远数据
SMS_TEMPLATE_CODE: SMS_474525324
ports:
- "25000:8080"
volumes: