uptime kuma backups work
This commit is contained in:
parent
eddde5e53a
commit
dac4a98f79
5 changed files with 103 additions and 7 deletions
20
ansible/services/uptime_kuma/uptime_kuma_vars.yml
Normal file
20
ansible/services/uptime_kuma/uptime_kuma_vars.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# General
|
||||
uptime_kuma_dir: /opt/uptime-kuma
|
||||
uptime_kuma_data_dir: "{{ uptime_kuma_dir }}/data"
|
||||
uptime_kuma_port: 3001
|
||||
|
||||
# Caddy
|
||||
caddy_sites_dir: /etc/caddy/sites-enabled
|
||||
uptime_kuma_subdomain: uptime
|
||||
|
||||
# Remote access
|
||||
remote_host: "{{ groups['vipy'][0] }}"
|
||||
remote_user: "{{ hostvars[remote_host]['ansible_user'] }}"
|
||||
remote_key_file: "{{ hostvars[remote_host]['ansible_ssh_private_key_file'] | default('') }}"
|
||||
|
||||
# Local backup
|
||||
local_backup_dir: "{{ lookup('env', 'HOME') }}/uptime-kuma-backups"
|
||||
backup_script_path: "{{ lookup('env', 'HOME') }}/.local/bin/uptime_kuma_backup.sh"
|
||||
|
||||
# Encryption
|
||||
pgp_recipient: "your-gpg-id@example.com" # Replace this with your actual GPG email or ID
|
||||
Loading…
Add table
Add a link
Reference in a new issue