File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed
Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,3 @@ services:
2525 timeout : 10s
2626 retries : 5
2727 start_period : 60s
28-
29- # 🚀 使用说明:
30- # 1. 创建 .env 文件并设置环境变量
31- # 2. 运行: docker-compose -f docker-compose.release.yml up -d
32- # 3. 访问: http://localhost:3000
33- #
34- # 📝 环境变量示例:
35- # JWT_SECRET=your_super_secret_jwt_key
36- # NEXT_PUBLIC_API_BASE_URL=http://your-domain.com:3000 # 云端部署时修改为实际域名
Original file line number Diff line number Diff line change @@ -74,28 +74,9 @@ docker run -d \
7474 -v ./logs:/app/logs \
7575 -v ./public:/app/public \
7676 -e JWT_SECRET=your_super_secret_jwt_key \
77- -e NODE_ENV=production \
78- -e NEXT_PUBLIC_API_BASE_URL=http://localhost:3000 \
7977 ghcr.io/mecozea/nodepass-webui:latest
8078```
8179
82- ### 方式三:本地构建
83-
84- ``` bash
85- # 1. 克隆项目
86- git clone https://github.com/Mecozea/nodepass-webui.git
87- cd nodepass-webui
88-
89- # 2. 启动整合模式
90- pnpm docker:up:integrated
91-
92- # 3. 查看日志
93- pnpm docker:logs
94-
95- # 4. 访问应用
96- # http://localhost:3000
97- ```
98-
9980### 环境变量说明
10081
10182| 变量名 | 描述 | 默认值 | 必需 |
You can’t perform that action at this time.
0 commit comments