Run uptime kuma

This commit is contained in:
Ivan R. 2024-11-14 11:31:08 +05:00
parent 44c73acbfd
commit 5f42b05b0f
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
3 changed files with 21 additions and 0 deletions

View file

@ -98,6 +98,9 @@ frontend https
acl host_git hdr(host) -i git.comfycamp.space
use_backend forgejo if host_git
acl host_uptime hdr(host) -i uptime.comfycamp.space
use_backend uptime_kuma if host_uptime
acl host_jellyfin hdr(host) -i jf.comfycamp.space
use_backend jellyfin if host_jellyfin
@ -218,3 +221,6 @@ backend freshrss
backend phoenix
server s1 phoenix-1:8080 check
backend uptime_kuma
server s1 uptime-kuma-1:3001 check

View file

@ -2,3 +2,4 @@
- import_tasks: grafana.yml
- import_tasks: prometheus.yml
- import_tasks: postgresql.yml
- import_tasks: uptime_kuma.yml

View file

@ -0,0 +1,14 @@
- 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