feat : 홈페이지 백엔드용 HTTP 다운로드 창구 추가
deploy / deploy (push) Successful in 1m15s

- 다운로드 로직(download)을 디스코드와 분리해 디스코드/HTTP가 함께 사용
- GET /folders, POST /download (X-Api-Key 인증, 202 응답 후 백그라운드 다운로드)
- compose: API_KEY 환경변수, 192.168.0.215:18090 포트(LAN 전용)
- CI: Gitea secret DOWNLOADER_API_KEY 전달

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
headporterandClaude Opus 5.5 committed 2026-11-27 16:34:19 +09:00
1 parent 4a2f149ca4
commit 77067a8285
3 files changed
+152 -38

No files matched your search

+3
View File
@@ -8,6 +8,9 @@ services:
environment:
- TZ=Asia/Seoul
- BOT_TOKEN=${BOT_TOKEN} # CI: Gitea secret / 수동: 같은 폴더의 .env
- API_KEY=${API_KEY} # 홈페이지 백엔드와 같은 값. 비어 있으면 HTTP 창구 꺼짐
ports:
- "192.168.0.215:18090:8090" # 홈페이지 백엔드 전용 HTTP 창구 (LAN에서만, 공유기 포워딩 금지)
volumes:
- /volume1/downloads:/downloads
# 호스트 절대경로 (CI job 컨테이너에서 실행해도 NAS 경로로 마운트되도록)