From 0c44b62280eeba5a78fca7ff4ed8312d0c3b044a Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 20 Jan 2026 21:13:28 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20Docker=20Compose?= =?UTF-8?q?=20=E9=83=A8=E5=88=86=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=BB=BA?= =?UTF-8?q?=E7=AB=8B=E5=B0=88=E6=A1=88=E8=B3=87=E6=96=99=E5=A4=BE=E7=9A=84?= =?UTF-8?q?=E6=8C=87=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a3b51d0..7c406a5 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,30 @@ docker run -d \ ## Docker Compose(推薦) -建立 `docker-compose.yml`: +1. 建立專案資料夾 -JWT_SECRET=請改成你自己的隨機字串至少32字元 +### Linux / macOS + +```bash +mkdir -p ~/convertx-cn && cd ~/convertx-cn +``` + +### Windows PowerShell + +```bash +mkdir C:\convertx-cn; cd C:\convertx-cn +``` + +### Windows CMD + +```bash +mkdir C:\convertx-cn +cd C:\convertx-cn +``` + +2. 建立 docker-compose.yml(在專案資料夾下) + +- 範例內容(請修改 JWT_SECRET=請改成你自己的隨機字串至少32字元): ```yaml services: @@ -87,7 +108,7 @@ services: - JWT_SECRET=e78a2da4-135f-06a8-fa46-17ef7990f5d1 ``` -啟動: +3. 啟動: ```bash docker compose up -d