update:docker version

This commit is contained in:
lan
2022-12-14 09:35:18 +08:00
parent 0a200da28b
commit 5c350cbfc6
2 changed files with 6 additions and 6 deletions
+2 -3
View File
@@ -84,13 +84,12 @@ docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --n
### 其他方式 ### 其他方式
请参考->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v) 仅供参考,历史版本->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v)
## 配置文件 ## 配置文件
如果需要修改配置,可以将该文件放在`/opt/FileCodeBox/`目录下,并命名为`.env`,然后重启容器即可。 如果需要修改配置,可以将该文件放在`/opt/FileCodeBox/`目录下,并命名为`.env`,然后重启容器即可。
如果不是Docker,则需要在项目同目录下新建一个`data`文件夹,然后在创建`.env`文件
```bash
```dotenv ```dotenv
# 端口 # 端口
+4 -3
View File
@@ -89,13 +89,14 @@ docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/:/app/data --n
### Other methods ### Other methods
请参考->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v) For reference only, historical version->[部署文档](https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v)
## Configuration file ## Configuration file
if you need to modify the configuration, you can put the file in `/opt/FileCodeBox/` directory and name it `.env` , and if you need to modify the configuration, you can put the file in `/opt/FileCodeBox/` directory and name it `.env` , and
then then restart the container.
restart the container. If it is not Docker, you need to create a `data` folder in the same directory as the project, and then create a `.env`
file
```bash ```bash