1、git clone https://github.com/AaronYES/HostlocGetPoints.git
2、cd HostlocGetPoints
3、编辑Hostloc文件夹内的HostlocGetPoints.py文件
4、docker-compose up -d
配置完成后可以进入容器检查配置是否正确
输入docker exec -it Hostloc sh 进入容器
执行/usr/bin/python3 /root/HostlocGetPoints.py查看是否正常运行
默认每天凌晨三点执行,如想修改为其他时间执行crontab -e进行编辑即可
HostlocAutoGetPoints的修改版本,使其可以部署在docker容器中。
Content type
Image
Digest
Size
26.8 MB
Last updated
over 4 years ago
docker pull aaronyes/hostlocgetpoints