fix(deploy): inject FILE_BASE_URL and FILE_SERVICE_INTERNAL_URL into update-service

Allows update-service to rewrite file URLs to the internal Docker network address,
fixing APK inspection timeout when file is hosted at the customer's custom domain.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
这个提交包含在:
徐勤民 2026-05-22 16:03:21 +08:00
父节点 f16335c190
当前提交 dad0cebc4d

查看文件

@ -157,6 +157,8 @@ services:
SPRING_DATASOURCE_URL: "jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT:-3306}/${MYSQL_DATABASE:-xuqm_private}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true"
SPRING_DATASOURCE_USERNAME: "${MYSQL_USERNAME:-xuqm}"
SDK_TENANT_SERVICE_URL: "http://tenant-service:9001"
FILE_BASE_URL: "${CONSOLE_DOMAIN}"
FILE_SERVICE_INTERNAL_URL: "http://file-service:8086"
volumes:
- ./data/update:/data/update # 版本包存储目录
restart: unless-stopped