fix: lsky gateway reads links.url + strategy_id support (COS strategy verified end-to-end: https cos url, public access ok)

This commit is contained in:
root
2026-10-17 09:26:06 +08:00
parent 785ef8fcc9
commit 102a55d010
2 changed files with 13 additions and 4 deletions
+3 -2
View File
@@ -19,8 +19,9 @@ services:
- ../app/server:/app/app-server:ro # 命令层整目录挂载(避免单文件嵌套遮蔽的不可靠行为)
environment:
- REGISTER_ENABLED=true
# - LSKY_API=https://img.linyux.cn/api/v1 # 兰空图床(对接 COS):填入后附件自动直传对象存储
# - LSKY_TOKEN= # 兰空 个人中心 → API 令牌
# - LSKY_API=https://img.linyux.cn/api/v1 # 兰空图床(已对接 COS):填入后附件自动直传对象存储
# - LSKY_TOKEN=1|xxxxxxxx # 兰空 个人中心 → API 接口 → 复制 Token
# - LSKY_STRATEGY_ID=2 # 存储策略 ID(2=COS 策略)
- INVITE_CODE=please-change-me # 多用户:注册须携带此邀请码(留空则不校验)
- MAX_USERS=20 # 用户数上限,0=不限
restart: unless-stopped