node写的脚本直接调用阿里云盘api,用cron自动执行脚本
映射小雅配置目录/etc/xiaoya至/data
环境变量:
exec进去执行node main.js进行测试
docker componse:
services:
helper:
container_name: xiaoya-helper
image: geekotaku/xiaoyahelper:latest
restart: always
environment:
- TZ=Asia/Shanghai
- cron=0 2 * * * #每日凌晨2点
volumes:
- /etc/xiaoya:/data
Content type
Image
Digest
sha256:e65964fc1…
Size
45.3 MB
Last updated
about 2 years ago
docker pull geekotaku/xiaoyahelper