Skip to content

Commit

Permalink
说明
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobaidadada committed Nov 22, 2024
1 parent afd0b0b commit dc13fec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN #chmod +x /app/filecat-linux
EXPOSE 5567
ENTRYPOINT ["node","/app/main.js"]
# 默认参数 有参数会被覆盖
CMD ["--env", "/app/env"]
CMD ["--env", "/app/env","--base_folder","/home"]
14 changes: 9 additions & 5 deletions env
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@

#服务器端口
#server port
port=5567
# 文件夹起始地址
#base_folder=D:\
# 文件夹起始地址 文件管理的默认地址,不填的话会是执行程序的目录
# The starting folder address, the default address for file management. If not specified, it will be the directory of the executing program.
#base_folder=D:\ 或者 /home/user

# 本地账号密码
username=123
password=123
username=admin
password=admin

#work_dir=D:\data
# 该程序需要一个目录来存放数据,最好是空目录
# The program requires a directory to store data, preferably an empty directory.
#work_dir=D:\data 或者 /home

0 comments on commit dc13fec

Please sign in to comment.