Refactored and solved matomo variable bug

This commit is contained in:
2025-02-17 11:04:40 +01:00
parent 62f9bab052
commit 326f048639
10 changed files with 31 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
# Docker Matomo Role
This Ansible role deploys a Matomo analytics platform instance using Docker.
This Ansible role deploys a [Matomo](https://matomo.org/) analytics platform instance using Docker.
## Requirements
@@ -16,17 +16,8 @@ This Ansible role deploys a Matomo analytics platform instance using Docker.
- `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
```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.
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.
## Author
- [Kevin Veen-Birkenbach](https://www.veen.world/)

View File

@@ -2,6 +2,7 @@
application_id: "matomo"
database_type: "mariadb"
database_password: "{{matomo_database_password}}"
domain: "{{domains.matomo}}"
# Disable matomo tracking for matomo, because otherwise recursiv loading technics would be neccessary
# global_matomo_tracking_enabled: false