同步数据
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
|
||||
# 方式1: 本地开发启动(pnpm start)
|
||||
# 在终端中设置:
|
||||
# Windows PowerShell: $env:PORT=3006; pnpm start
|
||||
# Windows CMD: set PORT=3006 && pnpm start
|
||||
# Linux/Mac: PORT=3006 pnpm start
|
||||
# Windows PowerShell: $env:PORT=30006; pnpm start
|
||||
# Windows CMD: set PORT=30006 && pnpm start
|
||||
# Linux/Mac: PORT=30006 pnpm start
|
||||
|
||||
# 方式2: Docker Compose 部署
|
||||
# 设置 APP_PORT 变量,容器内外端口都使用此值
|
||||
APP_PORT=3006
|
||||
APP_PORT=30006
|
||||
|
||||
# 方式3: Docker 直接运行
|
||||
# docker run -e PORT=3007 -p 3007:3007 soul-book
|
||||
@@ -21,7 +21,7 @@ APP_PORT=3006
|
||||
# ========================================
|
||||
# 多项目端口规划建议
|
||||
# ========================================
|
||||
# soul-book: 3006
|
||||
# soul-book: 30006
|
||||
# other-project: 3007
|
||||
# api-service: 3008
|
||||
# ...
|
||||
|
||||
Reference in New Issue
Block a user