feat: add personal uptime kuma instance at uptime.debyl.io
- Add uptime-kuma-personal container on port 3002 - Add Caddy config for uptime.debyl.io with IP restriction - Update both uptime-kuma instances to 2.0.2 - Rename debyltech tag from uptime-kuma to uptime-debyltech Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
38
ansible/roles/podman/tasks/containers/home/uptime-kuma.yml
Normal file
38
ansible/roles/podman/tasks/containers/home/uptime-kuma.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
- name: create uptime-kuma-personal host directory volumes
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: "{{ podman_user }}"
|
||||
group: "{{ podman_user }}"
|
||||
mode: 0755
|
||||
notify: restorecon podman
|
||||
loop:
|
||||
- "{{ uptime_kuma_personal_path }}/data"
|
||||
|
||||
- name: flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- import_tasks: podman/podman-check.yml
|
||||
vars:
|
||||
container_name: uptime-kuma-personal
|
||||
container_image: "{{ image }}"
|
||||
|
||||
- name: create uptime-kuma-personal container
|
||||
become: true
|
||||
become_user: "{{ podman_user }}"
|
||||
containers.podman.podman_container:
|
||||
name: uptime-kuma-personal
|
||||
image: "{{ image }}"
|
||||
restart_policy: on-failure:3
|
||||
log_driver: journald
|
||||
volumes:
|
||||
- "{{ uptime_kuma_personal_path }}/data:/app/data"
|
||||
ports:
|
||||
- "3002:3001/tcp"
|
||||
|
||||
- name: create systemd startup job for uptime-kuma-personal
|
||||
include_tasks: podman/systemd-generate.yml
|
||||
vars:
|
||||
container_name: uptime-kuma-personal
|
||||
@@ -78,8 +78,13 @@
|
||||
|
||||
- import_tasks: containers/debyltech/uptime-kuma.yml
|
||||
vars:
|
||||
image: docker.io/louislam/uptime-kuma:1
|
||||
tags: debyltech, uptime-kuma
|
||||
image: docker.io/louislam/uptime-kuma:2.0.2
|
||||
tags: debyltech, uptime-debyltech
|
||||
|
||||
- import_tasks: containers/home/uptime-kuma.yml
|
||||
vars:
|
||||
image: docker.io/louislam/uptime-kuma:2.0.2
|
||||
tags: home, uptime
|
||||
|
||||
- import_tasks: containers/debyltech/geoip.yml
|
||||
tags: debyltech, graylog, geoip
|
||||
@@ -92,7 +97,7 @@
|
||||
|
||||
- import_tasks: containers/home/gregtime.yml
|
||||
vars:
|
||||
image: localhost/greg-time-bot:3.0.1
|
||||
image: localhost/greg-time-bot:3.0.2
|
||||
tags: gregtime
|
||||
|
||||
- import_tasks: containers/home/zomboid.yml
|
||||
|
||||
Reference in New Issue
Block a user