Docker部署pyspider webui显示页面太小的解决方法

  • 进入docker容器,输入以下指令来获取pyspider的位置
shell 复制代码
python -c "import pyspider;print(pyspider)"

如图所示

  • 然后进入到
    /opt/pyspider/pyspider/webui/static
    修改debug.min.css
shell 复制代码
vi debug.min.css

使用vi的查找命令,然后回车。即可找到该样式,然后按i,自由编辑height属性,这里设置为800px,要记得加上!important,不然样式可能不会生效。修改完以后保存关闭即可。

因为浏览器有缓存机制,所以以edge浏览器为例,按ctrl+F5强制刷新,即可看到web页面变大了

相关推荐
好评12410 分钟前
Linux入门:软件包管理、Vim、GCC、Makefile、Git 与 GDB
linux·运维·服务器
Danileaf_Guo7 小时前
256台H100服务器算力中心的带外管理网络建设方案
运维·服务器
Robot侠7 小时前
极简LLM入门指南4
大数据·python·llm·prompt·提示工程
等....8 小时前
Miniconda使用
开发语言·python
Java&Develop8 小时前
Aes加密 GCM java
java·开发语言·python
拾贰_C8 小时前
【Linux | Windows | Terminal Command】 Linux---grep | Windows--- findstr
linux·运维·服务器
bloglin999998 小时前
启动容器报错ls: cannot access ‘/docker-entrypoint-initdb.d/‘: Operation not permitted
docker·容器·eureka
songjxin9 小时前
离线部署kubernetes v1.34.3
云原生·容器·kubernetes
虹科网络安全9 小时前
艾体宝洞察 | 利用“隐形字符”的钓鱼邮件:传统防御为何失效,AI安全意识培训如何补上最后一道防线
运维·网络·安全
石像鬼₧魂石10 小时前
Kali Linux 网络端口深度扫描
linux·运维·网络