Files
Auto_Bangumi/docs/ja/deploy/docker-cli.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

57 lines
2.0 KiB
Markdown
Raw Permalink 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 CLIでデプロイ
## 新バージョンに関する注意
AutoBangumi 2.6以降、WebUIで直接すべてを設定できます。まずコンテナを起動してから、WebUIで設定できます。以前のバージョンの環境変数設定は自動的に移行されます。環境変数は引き続き機能しますが、初回起動時にのみ有効です。
## データと設定ディレクトリの作成
更新後もABのデータと設定が保持されるように、Dockerボリュームまたはバインドマウントの使用を推奨します。
```shell
# バインドマウントを使用
mkdir -p ${HOME}/AutoBangumi/{config,data}
cd ${HOME}/AutoBangumi
```
バインドマウントまたはDockerボリュームのいずれかを選択してください
```shell
# Dockerボリュームを使用
docker volume create AutoBangumi_config
docker volume create AutoBangumi_data
```
## Docker CLIでAutoBangumiをデプロイ
以下のコマンドをコピーして実行してください。
作業ディレクトリがAutoBangumiであることを確認してください。
```shell
docker run -d \
--name=AutoBangumi \
-v ${HOME}/AutoBangumi/config:/app/config \
-v ${HOME}/AutoBangumi/data:/app/data \
-p 7892:7892 \
-e TZ=Asia/Shanghai \
-e PUID=$(id -u) \
-e PGID=$(id -g) \
-e UMASK=022 \
--network=bridge \
--dns=8.8.8.8 \
--restart unless-stopped \
ghcr.io/estrellaxd/auto_bangumi:latest
```
Dockerボリュームを使用する場合は、バインドパスを適宜置き換えてください
```shell
-v AutoBangumi_config:/app/config \
-v AutoBangumi_data:/app/data \
```
AB WebUIは自動的に起動しますが、メインプログラムは一時停止状態です。`http://abhost:7892`にアクセスして設定してください。
ABは自動的に環境変数を`config.json`に書き込み、実行を開始します。
高度なデプロイには_[Portainer](https://www.portainer.io)_または同様のDocker管理UIの使用を推奨します。