computer-playbook/roles/docker-matomo
2023-12-26 03:13:16 +01:00
..
handlers Refactored use of variables 2023-12-05 18:45:26 +01:00
meta implemented cross-domain matomo tracking on nginx level 2023-11-18 20:02:55 +01:00
tasks refactored docker and nginx roles, to make them more modular 2023-12-07 11:19:09 +01:00
templates Changed roles to new docker backup procedure 2023-12-26 03:13:16 +01:00
vars Changed roles to new docker backup procedure 2023-12-26 03:13:16 +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.