| # Copyright 2021 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| version: "3" |
| services: |
| |
| watchtower: |
| container_name: watchtower |
| image: ${COMMON_CORE_REGISTRY:-gcr.io/chromeos-partner-moblab}/watchtower:${WATCHTOWER:-release} |
| restart: unless-stopped |
| environment: |
| - DOCKER_CONFIG=/config |
| volumes: |
| - docker_config:/config |
| - /var/run/docker.sock:/var/run/docker.sock |
| |
| command: ${WATCHTOWER_CMD} |
| |
| ulimits: |
| nofile: |
| soft: 10000 |
| hard: 16384 |
| |
| volumes: |
| docker_config: |
| external: True |