2023-11-17 15:15:25 +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.
2023-12-07 16:56:43 +01:00
- `path_docker_compose_instances` : Path to store Docker Compose files.
2023-11-17 15:15:25 +01:00
- `http_port` : The host port that Matomo will be accessible on.
- `matomo_database_password` : Password for the Matomo database.
## Dependencies
2023-11-18 20:02:55 +01:00
- `nginx-docker-reverse-proxy` : An Ansible role for configuring the reverse proxy.
2023-11-17 15:15:25 +01:00
## Example Playbook
```yaml
- 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 ](https://chat.openai.com/share/49e0c7e4-a2af-4a04-adad-7a735bdd85c4 ) available.