homelab/roles/monitoring/tasks/uptime_kuma.yml

15 lines
371 B
YAML
Raw Normal View History

2024-11-14 11:31:08 +05:00
- name: Create uptime kuma volume
become: true
community.docker.docker_volume:
name: uptime-kuma
- name: Start uptime kuma container
become: true
community.docker.docker_container:
name: uptime-kuma-1
image: louislam/uptime-kuma:1.23.15
volumes:
- uptime-kuma:/app/data
networks:
- name: haproxy
restart_policy: unless-stopped