Comments (1)
nas我没玩过,不过docker安装命令都是一样的
#从官方仓库拉取镜像,本地会缓存,不用每次都执行
docker pull iicm/pan-index:latest
#停止正在运行的PanIndex
docker stop PanIndex
#删除容器
docker rm PanIndex
#运行新容器
docker run -itd \
--name PanIndex \
-d -p 8080:8080 \
-v /home/single/data/docker/data/PanIndex/data:/app/data \
-e HOST="0.0.0.0" \
-e MODE="cloud189" \
-e CLOUD_USER="1860****837" \
-e CLOUD_PASSWORD="1234" \
-e ROOT_ID="-11" \
-e PWD_DIR_ID="51496311321353335:1234" \
-e HIDE_FILE_ID="" \
-e HEROKU_APP_URL="" \
-e API_TOKEN="" \
-e THEME="bootstrap" \
-e DMG_USER="" \
-e DMG_PASS="" \
-e CRON_REFRESH_COOKIE="0 0 8 1/1 * ?" \
-e CRON_UPDATE_FOLDER_CACHE="0 0 0/1 * * ?" \
-e CRON_HEROKU_KEEP_ALIVE="0 0/5 * * * ?" \
iicm/pan-index
-v
是目录映射,如果不映射data目录 每次重启,数据会丢失
-e
设置环境变量,文档中有详细说明
-d
是端口映射外部端口:内部端口
,容器内部就是8080,外部端口按照你自己的需求去设置
-e
是设置环境变量,每一项的意思 都在文档中有说明,最后一行是指定镜像名称iicm/pan-index
等同于iicm/pan-index:latest
,你也可以指定其他版本。
from panindex.
Related Issues (20)
- 更新3.1.2之后主页不显示文件 HOT 5
- How to get in touch regarding a security concern? HOT 5
- 配置123网盘需要注意什么吗?我的123网盘显示404 HOT 2
- 我发现我的阿里云盘被限速了。123防盗链检测也比较严重 HOT 1
- 完全缓存(DB)模式下分流负载功能优化
- panindex内存占用太高 HOT 1
- 天翼云盘登录失败然后程序被强退 HOT 2
- 问题反馈:“后台管理地址”和“网站图标(Favicon)”
- 本地磁盘挂载后,子目录有文件,打开却显示为空 HOT 1
- 安装的是v3.1.4版本,安装好以后显示v3.1.5.05170128,然后天翼云盘登陆失败 HOT 2
- 无法正确加载ui
- 阿里网盘和123盘显示错误 HOT 5
- webdav访问webdav网盘,出现302跳转并返回登录页面 HOT 1
- 能否增加多用户管理? HOT 1
- 天翼云盘部分文件显示不是左对齐,感觉前面有空格 HOT 4
- PanIndex Tool【获取Token】点击无反应 HOT 1
- mdui突然出现ui错误 HOT 1
- 3.1.5在centos6上缺包 HOT 2
- 公共API鉴权异常
- pdf页面预览,建议增加一行自动检测浏览器的代码,检测到edge浏览器就交给浏览器自己查看pdf文件,非edge浏览器就调用pdfview插件
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panindex.