computer-playbook/roles/docker-matomo
2024-01-03 11:38:09 +01:00
..
meta Refactored docker rroles dto use new role docker-compose 2023-12-30 16:49:37 +01:00
tasks Implemented vars, tasks and templates for central database setup until mastodon role 2024-01-02 21:13:34 +01:00
templates Finished final raw draft of central database implementation. UNTESTED. 2024-01-03 11:38:09 +01:00
vars Implemented vars, tasks and templates for central database setup until mastodon role 2024-01-02 21:13:34 +01:00
README.md renamed variable 2023-12-07 16:56:43 +01:00

Docker Matomo Role

This Ansible role deploys a Matomo analytics platform instance using Docker.

Requirements

  • Docker and Docker-Compose installed on the host machine.
  • Nginx installed for reverse proxy configuration.
  • Certbot installed for SSL certificate generation.

Role Variables

  • domain: The domain where Matomo will be accessible.
  • administrator_email: The email used for SSL certificate registration.
  • path_docker_compose_instances: Path to store Docker Compose files.
  • http_port: The host port that Matomo will be accessible on.
  • matomo_database_password: Password for the Matomo database.

Dependencies

  • nginx-docker-reverse-proxy: An Ansible role for configuring the reverse proxy.

Example Playbook

- hosts: servers
  roles:
    - { role: docker-matomo, domain: 'example.com', http_port: 8080 }

AI Generated

This script was created with the help of ChatGPT. The full conversation is here available.