Git Product home page Git Product logo

Comments (1)

libsgh avatar libsgh commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.