{"id":13550504,"url":"https://github.com/matomo-org/docker","last_synced_at":"2025-04-03T00:34:02.997Z","repository":{"id":38955718,"uuid":"42899001","full_name":"matomo-org/docker","owner":"matomo-org","description":"Official Docker project for Matomo Analytics","archived":false,"fork":false,"pushed_at":"2024-07-23T19:39:36.000Z","size":220,"stargazers_count":823,"open_issues_count":78,"forks_count":343,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-08-09T23:01:54.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://matomo.org","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matomo-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-21T23:18:59.000Z","updated_at":"2024-08-09T23:01:58.598Z","dependencies_parsed_at":"2023-02-17T07:25:28.790Z","dependency_job_id":"e851d579-1f34-4eb7-978f-6d4f82ad43b0","html_url":"https://github.com/matomo-org/docker","commit_stats":{"total_commits":228,"total_committers":32,"mean_commits":7.125,"dds":0.6885964912280702,"last_synced_commit":"417f15cd95e76177834c2055977145311c973cd1"},"previous_names":["piwik/docker-piwik"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matomo-org%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matomo-org%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matomo-org%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matomo-org%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matomo-org","download_url":"https://codeload.github.com/matomo-org/docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246574987,"owners_count":20799249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:01:34.098Z","updated_at":"2025-04-03T00:34:02.609Z","avatar_url":"https://github.com/matomo-org.png","language":"Shell","readme":"# Matomo (formerly Piwik)\n\n[![GitHub CI build status badge](https://github.com/matomo-org/docker/workflows/GitHub%20CI/badge.svg)](https://github.com/matomo-org/docker/actions?query=workflow%3A%22GitHub+CI%22)\n[![update.sh build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/update.sh/job/matomo.svg?label=Automated%20update.sh)](https://doi-janky.infosiftr.net/job/update.sh/job/matomo/)\n[![amd64 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/amd64/job/matomo.svg?label=amd64)](https://doi-janky.infosiftr.net/job/multiarch/job/amd64/job/matomo)\n[![arm32v5 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/matomo.svg?label=arm32v5)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v5/job/matomo)\n[![arm32v6 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/matomo.svg?label=arm32v6)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v6/job/matomo)\n[![arm32v7 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/matomo.svg?label=arm32v7)](https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/matomo)\n[![arm64v8 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/matomo.svg?label=arm64v8)](https://doi-janky.infosiftr.net/job/multiarch/job/arm64v8/job/matomo)\n[![i386 build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/i386/job/matomo.svg?label=i386)](https://doi-janky.infosiftr.net/job/multiarch/job/i386/job/matomo)\n[![mips64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/matomo.svg?label=mips64le)](https://doi-janky.infosiftr.net/job/multiarch/job/mips64le/job/matomo)\n[![ppc64le build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/matomo.svg?label=ppc64le)](https://doi-janky.infosiftr.net/job/multiarch/job/ppc64le/job/matomo)\n[![s390x build status badge](https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/s390x/job/matomo.svg?label=s390x)](https://doi-janky.infosiftr.net/job/multiarch/job/s390x/job/matomo)\n\n\u003cimg align=\"right\" width=\"300px\" src=\"https://matomo.org/wp-content/themes/website-child/assets/img/media/matomo.png\" alt=\"Matomo logo\"\u003e\u003c/img\u003e\n[Matomo](https://matomo.org/) (formerly Piwik) is the leading open-source analytics platform that gives you more than just powerful analytics:\n\n- Free open-source software\n- 100% data ownership\n- User privacy protection\n- User-centric insights\n- Customisable and extensible\n\n## How to use this image\n\nYou can run the Matomo container and service like so:\n\n```bash\ndocker run -d --link some-mysql:db matomo\n```\n\nThis assumes you've already launched a suitable MySQL or MariaDB database container.\n\n## Persistent data\n\nUse a Docker volume to keep persistent data:\n\n```console\ndocker run -d -p 8080:80 --link some-mysql:db -v matomo:/var/www/html matomo\n```\n\n## Matomo Installation\n\nOnce you're up and running, you'll arrive at the configuration wizard page. If you're using the compose file, at the `Database Setup` step, please enter the following:\n\n- Database Server: `db`\n- Login: MYSQL_USER\n- Password: MYSQL_PASSWORD\n- Database Name: MYSQL_DATABASE\n\nAnd leave the rest as default.\n\nThen you can continue the installation with the super user.\n\nThe following environment variables are also honored for configuring your Matomo instance:\n\n- `MATOMO_DATABASE_HOST`\n- `MATOMO_DATABASE_ADAPTER`\n- `MATOMO_DATABASE_TABLES_PREFIX`\n- `MATOMO_DATABASE_USERNAME`\n- `MATOMO_DATABASE_PASSWORD`\n- `MATOMO_DATABASE_DBNAME`\n\nThe PHP memory limit can be configured with the following environment variable:\n\n- `PHP_MEMORY_LIMIT`\n\n## Docker-compose examples and log import instructions\n\nA minimal set-up using docker-compose is available in the [.examples folder](.examples/nginx/docker-compose.yml), a more complete [example can be found at IndieHosters/piwik](https://github.com/libresh/compose-matomo/blob/master/docker-compose.yml).\n\nIf you want to use the import logs script, you can then run the following container as needed, in order to execute the python import logs script:\n\n```\ndocker run --rm --volumes-from=\"matomo_app_1\" --link matomo_app_1 python:2-alpine python /var/www/html/misc/log-analytics/import_logs.py --url=http://ip.of.your.matomo --login=yourlogin --password=yourpassword --idsite=1 --recorders=4 /var/www/html/logs/access.log\n```\n\n## Contribute\n\nPull requests are very welcome!\n\nWe'd love to hear your feedback and suggestions in the issue tracker: [github.com/matomo-org/docker/issues](https://github.com/matomo-org/docker/issues).\n\n## GeoIP\n\n~~This product includes GeoLite data created by MaxMind, available from [https://www.maxmind.com](https://www.maxmind.com).~~\nhttps://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/\n","funding_links":[],"categories":["Dockerfile","Shell","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatomo-org%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatomo-org%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatomo-org%2Fdocker/lists"}