chore: add gotify & uptime-kume to cloud - vps02
All checks were successful
Deploy / Prepare Build (push) Successful in 52s

This commit is contained in:
2025-05-28 22:17:07 +10:00
parent 42fbd5f60c
commit d207e4ebaf
3 changed files with 61 additions and 0 deletions

27
tasks/uptimekuma.yml Normal file
View File

@ -0,0 +1,27 @@
---
- name: Create directories
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ data_folder }}/uptime-kuma"
- "{{ data_folder }}/uptime-kuma/data"
- name: Create the uptimekuma container
docker_container:
name: uptime-kuma
image: louislam/uptime-kuma:1.23.16
restart_policy: unless-stopped
recreate: true
networks:
- name: proxy
volumes:
- /data/uptime-kuma/data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
labels:
traefik.enable: "true"
traefik.http.routers.uptime.rule: "Host(`uptime.comprofix.com`)"
traefik.http.routers.uptime.entrypoints: "https"
traefik.http.routers.uptime.tls: "true"
traefik.http.services.uptime.loadbalancer.server.port: "3001"
traefik.http.services.uptime.loadbalancer.server.scheme: "http"