9 lines
280 B
YAML
9 lines
280 B
YAML
services:
|
|
watchtower:
|
|
image: containrrr/watchtower:latest
|
|
container_name: watchtower
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
restart: always
|
|
environment:
|
|
- WATCHTOWER_DISABLE_CONTAINERS=windows # 禁用名为 windows 的容器更新 |