uptime-kuma/ansible
Muhammed Hussein Karimi 177a9598ea better ssl handling
2021-10-22 21:08:19 +03:30
..
roles better ssl handling 2021-10-22 21:08:19 +03:30
.gitignore better ssl handling 2021-10-22 21:08:19 +03:30
ansible-requirements.yml ansible requirements added 2021-10-22 20:40:01 +03:30
playbook.yml Using geerlingguy ansible role for docker compose 2021-10-22 20:18:51 +03:30
README.md better ssl handling 2021-10-22 21:08:19 +03:30

Ansible Playbook to install uptime kuma using docker

This playbook comes with three roles

1. docker (to install docker)
2. nginx (to install nginx using docker with ssl)
3. uptime kuma (to install uptime kuma using docker)

To see more info see docker-compose, tasks and config files I will try to make this readme better

To run it

  1. run ansible-galaxy install -r ansible-requirements.yml to get requirements
  2. prepare inventory hosts
  3. put your certificates in files section in nginx role with this structure below:
ansible -> roles -> nginx -> ssl -> <uptime kuma domain>.fullchain.pem
ansible -> roles -> nginx -> ssl -> <uptime kuma domain>.privkey.pem
  1. to run playbook
ansible-playbook ./playbook.yml -i <your inventory path> --extra-vars "kuma_domain=<uptime kuma domain>"

you can use other ansible playbook options too

Note: Replace <uptime kuma domain> with your desired domain for uptime kuma