目的
- like pocket – 但是take a snapshot – 离线本地保存
- 原url失效了仍然可以用
参考
- https://wzfou.com/wallabag/
- 镜像: https://hub.docker.com/r/wallabag/wallabag/
- 项目:https://github.com/wallabag/wallabag
- 官网:https://wallabag.org/
实现
mkdir -p /data/wallabag && cd /data/wallabag mkdir data images #or symlink elsewhere srv_port=11380 docker run --name wallabag --restart=always -d \ -p ${srv_port}:80 \ -e SYMFONY__ENV__DOMAIN_NAME=https://bag.nonoidea.com \ -v $(pwd)/data:/var/www/wallabag/data \ -v $(pwd)/images:/var/www/wallabag/web/assets/images \ wallabag/wallabag docker logs -f wallabag
CF+反代
location / { proxy_pass http://127.0.0.1:11380; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; }
测试
可以下载安卓手机 + Chrome 插件