File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed
Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ version : " 3"
2+ services :
3+ file-code-box :
4+ image : lanol/filecodebox:latest
5+ volumes :
6+ - fcb-data:/app/data:rw
7+ restart : unless-stopped
8+ ports :
9+ - " 12345:12345"
10+ volumes :
11+ fcb-data :
12+ external : false
Original file line number Diff line number Diff line change @@ -190,10 +190,27 @@ FileCodeBox 是一个基于 FastAPI + Vue3 开发的轻量级文件分享工具
190190
191191### Docker 部署
192192
193+ #### Docker CLI
193194``` bash
194195docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:beta
195196```
196197
198+ #### Docker Compose
199+ ``` yml
200+ version : " 3"
201+ services :
202+ file-code-box :
203+ image : lanol/filecodebox:latest
204+ volumes :
205+ - fcb-data:/app/data:rw
206+ restart : unless-stopped
207+ ports :
208+ - " 12345:12345"
209+ volumes :
210+ fcb-data :
211+ external : false
212+ ` ` `
213+
197214### 手动部署
198215
1992161. 克隆项目
Original file line number Diff line number Diff line change @@ -181,10 +181,28 @@ Command-line download
181181
182182### Docker Deployment
183183
184+
185+ #### Docker CLI
184186``` bash
185187docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:beta
186188```
187189
190+ #### Docker Compose
191+ ``` yml
192+ version : " 3"
193+ services :
194+ file-code-box :
195+ image : lanol/filecodebox:latest
196+ volumes :
197+ - fcb-data:/app/data:rw
198+ restart : unless-stopped
199+ ports :
200+ - " 12345:12345"
201+ volumes :
202+ fcb-data :
203+ external : false
204+ ` ` `
205+
188206### Manual Deployment
189207
1902081. Clone the repository
You can’t perform that action at this time.
0 commit comments