px-org / PanIndex

Network disk directory index / 网盘目录索引
https://docs.noki.icu
GNU Affero General Public License v3.0
1.34k stars 266 forks source link

Docker启动报错 #16

Closed li-xunhuan closed 3 years ago

li-xunhuan commented 3 years ago

启动命令:

docker run -itd --name PanIndex -d -p 1280:8080 -e CLOUD_USER="账号" -e CLOUD_PASSWORD="密码" -e ROOT_ID="不看" -e API_TOKEN="Kl3JNCN5vi3l2mtN" -e THEME="materialdesign" iicm/pan-index 运行结果: 20210124085750

libsgh commented 3 years ago

使用最新docker镜像再试试,启动命令有修改./PanIndex -config config.json

li-xunhuan commented 3 years ago

还是那样的,依然报错

2021/01/25 23:54:09 [程序启动]Sqlite数据库 >> 连接成功
flag provided but not defined: -config /app/config.json
Usage of /app/PanIndex:
  -config string
        配置文件config.json的路径 (default "config.json")
root@Tello:/mnt/sdb1/data/pan_index# ls
config.json
libsgh commented 3 years ago

还是那样的,依然报错

2021/01/25 23:54:09 [程序启动]Sqlite数据库 >> 连接成功
flag provided but not defined: -config /app/config.json
Usage of /app/PanIndex:
  -config string
      配置文件config.json的路径 (default "config.json")
root@Tello:/mnt/sdb1/data/pan_index# ls
config.json

抱歉,启动命令问题,已经修改并测试,再重新试试。

li-xunhuan commented 3 years ago

稳妥,跑起来了,话说,几个不同的主题都长啥样啊?

libsgh commented 3 years ago

截图录屏_选择区域_20210126135137 截图录屏_选择区域_20210126135243

这两个主题比较类似,后面会添加一个更好看一点的主题,手机也能很友好展示的

li-xunhuan commented 3 years ago

nice,老哥牛逼!