ansible-nas/docs/applications/watchtower.md

16 lines
724 B
Markdown
Raw Normal View History

2018-12-28 23:28:30 +00:00
# Watchtower
Homepage: [https://github.com/v2tec/watchtower](https://github.com/v2tec/watchtower)
A process for watching your Docker containers and automatically updating and restarting them whenever their base image is refreshed.
2018-12-28 23:28:30 +00:00
## Usage
2020-01-25 23:40:26 +00:00
Set `watchtower_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
2018-12-28 23:28:30 +00:00
## Specific Configuration
By default Watchtower is configured to check daily at 5am for updates.
2020-01-25 23:40:26 +00:00
Various notification options are available, and can be configured by updating `watchtower_command` in your `inventories/<your_inventory>/nas.yml` file. A few examples are provided. The full set of options can be found at the [Watchtower GitHub project page](https://github.com/v2tec/watchtower).