- Create README.md for internationalization (i18n) documentation - Add English translation for main README and quick start guide - Add Japanese translation for main README - Add Simplified Chinese translation for main README - Introduce sample Docker Compose configurations for various deployment scenarios - Implement CI/CD documentation for testing and deployment workflows - Establish end-to-end testing guidelines and strategies - Create test strategy documentation outlining unit, integration, and E2E tests
1.1 KiB
1.1 KiB
Docker Compose 範例與配置
本目錄提供各種場景的 Docker Compose 範例配置。
範例檔案
| 檔案 | 用途 | 說明 |
|---|---|---|
compose.minimal.yml |
快速啟動 | 最精簡配置 |
compose.production.yml |
生產環境 | 包含安全設定 |
compose.with-traefik.yml |
反向代理 | Traefik 整合 |
nginx.example.conf |
Nginx 設定 | 反向代理設定範例 |
如何使用
1. 下載範例
# 下載最小配置
curl -O https://raw.githubusercontent.com/pi-docket/ConvertX-CN/main/docs/samples/compose.minimal.yml
# 重命名
mv compose.minimal.yml docker-compose.yml
2. 修改設定
# 編輯配置
nano docker-compose.yml
# 重點修改:
# - JWT_SECRET
# - TZ
3. 啟動
mkdir -p data
docker compose up -d