File tree 3 files changed +47
-0
lines changed
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 开发的轻量级文件分享工具
190
190
191
191
### Docker 部署
192
192
193
+ #### Docker CLI
193
194
``` bash
194
195
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:beta
195
196
```
196
197
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
+
197
214
### 手动部署
198
215
199
216
1. 克隆项目
Original file line number Diff line number Diff line change @@ -181,10 +181,28 @@ Command-line download
181
181
182
182
### Docker Deployment
183
183
184
+
185
+ #### Docker CLI
184
186
``` bash
185
187
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:beta
186
188
```
187
189
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
+
188
206
### Manual Deployment
189
207
190
208
1. Clone the repository
You can’t perform that action at this time.
0 commit comments