mirror of
https://github.com/headporter81/DiscordDownloaderBot.git
synced 2026-12-06 07:41:10 +09:00
NAS 도커 배포 및 Gitea Actions CI/CD 추가
- 봇 토큰 하드코딩 제거, BOT_TOKEN 환경변수로 변경 - yt-dlp/쿠키/다운로드 경로를 환경변수로 (윈도우/리눅스 공용) - Dockerfile(멀티스테이지), docker-compose.yml, .dockerignore 추가 - .gitea/workflows/deploy.yml: master push 시 NAS 도커에 빌드/배포 - cookies.txt, yt-dlp.exe 추적 해제 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1f5d05165a
commit
9a3c3d5873
8 files changed
+85
-25
No files matched your search
@@ -0,0 +1,14 @@
|
||||
name: discord-bot # CI/수동 실행 모두 같은 프로젝트로 인식되게 고정
|
||||
|
||||
services:
|
||||
discord-bot:
|
||||
build: .
|
||||
container_name: discord-downloader-bot
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Asia/Seoul
|
||||
- BOT_TOKEN=${BOT_TOKEN} # CI: Gitea secret / 수동: 같은 폴더의 .env
|
||||
volumes:
|
||||
- /volume1/downloads:/downloads
|
||||
# 호스트 절대경로 (CI job 컨테이너에서 실행해도 NAS 경로로 마운트되도록)
|
||||
- /volume1/docker/discord-bot/cookies.txt:/config/cookies.txt
|
||||
Reference in new issue
Block a user