From ab3971f911d464a13cb17cac6b664be5d8f2aaac Mon Sep 17 00:00:00 2001 From: lan Date: Wed, 21 Dec 2022 22:18:44 +0800 Subject: [PATCH] update:arm docker --- readme.md | 40 +++++++++++++++++++++------------------- readme_en.md | 41 +++++++++++++++++++++-------------------- 2 files changed, 42 insertions(+), 39 deletions(-) diff --git a/readme.md b/readme.md index 7b2a850..f19ee22 100644 --- a/readme.md +++ b/readme.md @@ -20,7 +20,27 @@ - [x] 管理面板:查看所有文件,删除文件 - [x] 一键部署:docker一键部署 -## 未来规划 +## 部署方式 + +### Docker一键部署 + +#### AMD + +```bash +docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:latest +``` + +#### ARM + +```bash +docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:arm +``` + +### 其他方式 + +仅供参考,历史版本->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v) + +## 项目规划 2022年12月14日 @@ -95,24 +115,6 @@ ![管理](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/img_7.png) -## 部署方式 - -### Docker一键部署 - -#### AMD -```bash -docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:latest -``` - -#### ARM -```bash -docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:arm -``` - -### 其他方式 - -仅供参考,历史版本->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v) - ## 配置文件 如果需要修改配置,可以将该文件放在`/opt/FileCodeBox/`目录下,并命名为`.env`,然后重启容器即可。 diff --git a/readme_en.md b/readme_en.md index 63b65d8..d70fb83 100644 --- a/readme_en.md +++ b/readme_en.md @@ -20,7 +20,27 @@ - [x] management Panel: View all files and delete them - [x] one-click deployment: docker one-click deployment -## Future Plan +## Deployment method + +### One-click Docker deployment + +#### AMD + +```bash +docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:latest +``` + +#### ARM + +```bash +docker run -d --restart=always -p 12345:12345 -v /Users/lan/soft/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:arm +``` + +### Other methods + +For reference only, historical version->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v) + +## Project Plan December 14, 2022 This project is mainly light-weight, mainly single-user, offline environment, so there is no need to add too many @@ -99,25 +119,6 @@ If you have better ideas and suggestions, welcome to file an issue. ![管理](https://raw.githubusercontent.com/vastsa/FileCodeBox/master/images/img_7.png) -## Deployment method - -### One-click Docker deployment - -#### AMD -```bash -docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:latest -``` - -#### ARM -```bash -docker run -d --restart=always -p 12345:12345 -v /Users/lan/soft/FileCodeBox/:/app/data --name filecodebox lanol/filecodebox:arm -``` - - -### Other methods - -For reference only, historical version->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v) - ## Configuration file if you need to modify the configuration, you can put the file in `/opt/FileCodeBox/` directory and name it `.env` , and