This commit is contained in:
Pim Kunis 2023-05-18 00:21:34 +02:00
commit 59a5b86104
11 changed files with 456 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# vi: ft=yaml
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
ports:
- 3001:3001
restart: always
volumes:
- {{ data_directory }}/uptime-kuma:/app/data

View file

@ -0,0 +1,15 @@
- name: Create working directory
file:
path: /srv/uptime-kuma
state: directory
- name: Copy Docker compose file
template:
src: "{{ role_path }}/docker-compose.yml.j2"
dest: /srv/uptime-kuma/docker-compose.yml
- name: Deploy Docker compose
docker_compose:
project_src: /srv/uptime-kuma
pull: true
remove_orphans: true