mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-28 04:45:03 +01:00
.. | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
README.md |
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_files
: 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.