mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 11:03:07 +00:00
13 lines
355 B
YAML
13 lines
355 B
YAML
---
|
|
- name: Watchtower Docker Container
|
|
docker_container:
|
|
name: watchtower
|
|
image: containrrr/watchtower
|
|
pull: true
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
env:
|
|
TZ: "{{ ansible_nas_timezone }}"
|
|
command: "{{ watchtower_command }}"
|
|
restart_policy: unless-stopped
|
|
memory: "{{ watchtower_memory }}"
|