Refactor Docker Compose examples and documentation
- Updated README.md to include new example files for minimal and production configurations with detailed instructions. - Added compose.production-alt.example.yml for an annotated production setup. - Introduced new example files: compose.minimal.example.yml, compose.production.example.yml, nginx.example.conf, and traefik.example.yml for better clarity and usability. - Removed outdated configuration files and consolidated documentation for OCR language support. - Adjusted Nginx and Traefik configurations to reflect best practices and added necessary comments for user guidance. - Minor formatting and consistency improvements across documentation files.
This commit is contained in:
parent
f6b45627e0
commit
8a84caa503
14 changed files with 175 additions and 821 deletions
23
docs/範例配置/compose.minimal.example.yml
Normal file
23
docs/範例配置/compose.minimal.example.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# ConvertX-CN 最小配置
|
||||
# 適用於:快速測試、個人使用
|
||||
#
|
||||
# 使用方式:
|
||||
# 1. cp compose.minimal.example.yml docker-compose.yml
|
||||
# 2. mkdir -p data
|
||||
# 3. 修改 JWT_SECRET(必填)
|
||||
# 4. docker compose up -d
|
||||
|
||||
services:
|
||||
convertx:
|
||||
image: convertx/convertx-cn:latest
|
||||
container_name: convertx-cn
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
environment:
|
||||
- TZ=Asia/Taipei
|
||||
# ⚠️ 必填:請更換為長且隨機的字串(至少 32 字元)
|
||||
# 產生方式:openssl rand -hex 32
|
||||
- JWT_SECRET=YOUR_JWT_SECRET_HERE
|
||||
Loading…
Add table
Add a link
Reference in a new issue