Last active
January 26, 2021 11:50
-
-
Save macghriogair/f2258dc37790a3a44c8f1c1ed4d32ec7 to your computer and use it in GitHub Desktop.
[Matomo bitnami docker] #matomo #analytics #docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kudos: https://github.com/bitnami/bitnami-docker-matomo | |
version: "2" | |
services: | |
mariadb: | |
image: "docker.io/bitnami/mariadb:10.3-debian-10" | |
environment: | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MARIADB_USER=bn_matomo | |
- MARIADB_DATABASE=bitnami_matomo | |
# Flag necessary for the database max allowed packet check | |
# https://matomo.org/faq/troubleshooting/faq_183/ | |
- MARIADB_EXTRA_FLAGS=--max_allowed_packet=64MB | |
volumes: | |
- "mariadb_data:/bitnami/mariadb" | |
matomo: | |
image: "docker.io/bitnami/matomo:4-debian-10" | |
ports: | |
- "8090:8080" | |
environment: | |
- MATOMO_DATABASE_HOST=mariadb | |
- MATOMO_DATABASE_PORT_NUMBER=3306 | |
- MATOMO_DATABASE_USER=bn_matomo | |
- MATOMO_DATABASE_NAME=bitnami_matomo | |
- ALLOW_EMPTY_PASSWORD=yes | |
volumes: | |
- "matomo_data:/bitnami/matomo" | |
depends_on: | |
- mariadb | |
volumes: | |
mariadb_data: | |
driver: local | |
matomo_data: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment