用于webdav图床对比PicGo、PicList、lsky
需求场景:本人有自建WebDAV,非坚果云,有可访问的公网域名(内网穿透出来的),需要一个图床可以沟通Window、安卓、ios
经过多方比对,结论如下:
- PicGo不支持WebDAV,但是我发现了一个二开项目PicList
- PicList支持WebDAV,但是没有网页端,无法沟通三端
- lsky没有Window端,最后采用在虚拟机安装centos部署docker再用docker-compose部署lsky
- lsky真的很好用,值得
docker-compose配置:
version: '3'
services:
lsky-pro:
container_name: lsky-pro
image: dko0/lsky-pro
restart: always
volumes:
- ./data/html:/var/www/html #映射到本地
ports:
- 7791:80 # 端口占用的话可以改
environment:
- MYSQL_HOST=mysql
- MYSQL_DATABASE=lsky-pro
- MYSQL_USER=lsky-pro
- MYSQL_PASSWORD=lsky-pro
mysql:
image: mysql:8.0
container_name: lsky-pro-db
restart: always
environment:
- MYSQL_DATABASE=lsky-pro
- MYSQL_USER=lsky-pro
- MYSQL_PASSWORD=lsky-pro
- MYSQL_ROOT_PASSWORD=lsky-pro
volumes:
- ./data/db:/var/lib/mysql
然后访问localhost:7791(如果前面改了端口这里也要跟着改)
如果数据库连接报错,就把数据库用户名和密码都填lsky-pro
标签:webdav,lsky,mysql,pro,PicGo,PicList,MYSQL From: https://www.cnblogs.com/yw1551/p/used-for-webdav-diagram-comparison-picgo-piclist-lsky-20t