Files
Auto_Bangumi/docs/ja/deploy/docker-compose.md
Estrella Pan dfe66d279c docs: add Japanese documentation (#970)
Add complete Japanese translation for all documentation pages including:
- Home and about pages
- Deployment guides (Docker CLI, Docker Compose, DSM, Local)
- Configuration pages (RSS, Downloader, Parser, Notifier, Manager, Proxy, Experimental)
- Feature documentation (RSS Management, Bangumi, Calendar, Rename, Search)
- FAQ and troubleshooting
- API reference
- Changelogs (2.6, 3.0, 3.1, 3.2)
- Developer guide

Also updates VitePress config to add Japanese locale with full sidebar navigation.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 21:06:38 +01:00

87 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Docker Composeでデプロイ
`docker-compose.yml`ファイルを使用した**AutoBangumi**のワンクリックデプロイ方法です。
## Docker Composeのインストール
Docker Composeは通常Dockerにバンドルされています。以下で確認してください
```bash
docker compose -v
```
インストールされていない場合は、以下でインストールしてください:
```bash
$ sudo apt-get update
$ sudo apt-get install docker-compose-plugin
```
## **AutoBangumi**のデプロイ
### AutoBangumiとデータディレクトリの作成
```bash
mkdir -p ${HOME}/AutoBangumi/{config,data}
cd ${HOME}/AutoBangumi
```
### オプション1カスタムDocker Compose設定
```yaml
version: "3.8"
services:
AutoBangumi:
image: "ghcr.io/estrellaxd/auto_bangumi:latest"
container_name: AutoBangumi
volumes:
- ./config:/app/config
- ./data:/app/data
ports:
- "7892:7892"
restart: unless-stopped
dns:
- 8.8.8.8
network_mode: bridge
environment:
- TZ=Asia/Shanghai
- PGID=$(id -g)
- PUID=$(id -u)
- UMASK=022
```
上記の内容を`docker-compose.yml`ファイルにコピーしてください。
### オプション2Docker Compose設定ファイルのダウンロード
`docker-compose.yml`ファイルを手動で作成したくない場合、プロジェクトでは事前に作成された設定を提供しています:
- **AutoBangumi**のみをインストール:
```bash
wget https://raw.githubusercontent.com/EstrellaXD/Auto_Bangumi/main/docs/resource/docker-compose/AutoBangumi/docker-compose.yml
```
- **qBittorrent**と**AutoBangumi**をインストール:
```bash
wget https://raw.githubusercontent.com/EstrellaXD/Auto_Bangumi/main/docs/resource/docker-compose/qBittorrent+AutoBangumi/docker-compose.yml
```
インストール方法を選択し、コマンドを実行して`docker-compose.yml`ファイルをダウンロードしてください。必要に応じてテキストエディタでパラメータをカスタマイズできます。
### 環境変数の定義
ダウンロードしたAB+QB Docker Composeファイルを使用している場合は、以下の環境変数を定義する必要があります
```shell
export \
QB_PORT=<YOUR_PORT>
```
- `QB_PORT`既存のqBittorrentポートまたは希望するカスタムポートを入力します。例`8080`
### Docker Composeの起動
```bash
docker compose up -d
```