add watchtower container. elke dag om 5 uur worden de containers ge-update door watchtower indien nodig.

This commit is contained in:
pizzaniels 2023-02-05 17:08:54 +01:00
parent 68981f3f66
commit 5afc14edf4
5 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,14 @@
- name: Create app directory
file:
path: "{{ service_dir }}"
state: directory
- name: Copy Docker Compose script
copy:
src: "{{ role_path }}/files/docker-compose.yml"
dest: "{{ service_dir }}/docker-compose.yml"
- name: Start the Docker Compose
docker_compose:
project_src: "{{ service_dir }}"
pull: true
remove_orphans: true