mower-ng自用镜像,项目地址:https://git.zhaozuohong.vip/mower-ng/mower-ng
963
apt-get update && apt-get install -y git-lfs
git lfs install
git clone -c lfs.concurrenttransfers=200 https://git.zhaozuohong.vip/mower-ng/mower-ng.git --branch fast
cd mower-ng
docker-compose.ymlversion: '3.8'
services:
mower:
image: 'mower-ng'
build:
dockerfile: ./Dockerfile
container_name: mower-ng
restart: unless-stopped
volumes:
# 代码挂载
- .:/app
# 配置挂载
- ./mower_data:/data
# 传递给 webui.py 的参数
command: ["/data"]
environment:
- TZ=Asia/Shanghai
# 目标仓库
- GIT_REPO_URL=https://git.zhaozuohong.vip/mower-ng/mower-ng.git
# 目标分支
- GIT_UPDATE_BRANCH=fast
# pip 镜像源
- PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
# 首次启动后需要在mower_data/conf.yml中填写token再重启一次
network_mode: host
# 首次启动
docker compose up -d
# 填写token
在 mower_data/conf.yml 中填入 Token
# 重启生效
docker compose restart
Content type
Image
Digest
sha256:1af1ca0ff…
Size
518.3 MB
Last updated
11 months ago
docker pull megumiss/mower-ng