Created
February 10, 2024 16:53
-
-
Save AlejandroAkbal/fe4e5ecbf2af6e9cc493e1c1016f7251 to your computer and use it in GitHub Desktop.
Matomo 5 docker compose
This file contains 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
version: '3' | |
services: | |
matomo: | |
image: 'bitnami/matomo:latest' | |
depends_on: | |
- db | |
volumes: | |
- 'matomo:/bitnami' | |
environment: | |
- MATOMO_DATABASE_HOST=db | |
- MATOMO_DATABASE_NAME=matomo | |
- MATOMO_DATABASE_USER=matomo | |
- MATOMO_DATABASE_PASSWORD=matomo | |
- MATOMO_PROXY_CLIENT_HEADER=HTTP_X_FORWARDED_FOR | |
- MATOMO_ENABLE_FORCE_SSL=yes | |
- MATOMO_ENABLE_ASSUME_SECURE_PROTOCOL=yes | |
restart: unless-stopped | |
db: | |
image: 'bitnami/mariadb:10.11' | |
volumes: | |
- 'db:/bitnami/mariadb' | |
environment: | |
- MARIADB_DATABASE=matomo | |
- MARIADB_USER=matomo | |
- MARIADB_PASSWORD=matomo | |
- 'MARIADB_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQL_ROOT}' | |
- MARIADB_SKIP_TEST_DB=yes | |
- MARIADB_EXTRA_FLAGS=--max_allowed_packet=256MB | |
restart: unless-stopped | |
volumes: | |
matomo: null | |
db: null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ready for Coolify PaaS