Update Matomo Docker Konfiguration

This commit is contained in:
Lorenz Hilpert
2024-06-25 14:06:18 +02:00
parent e0ae79bc2a
commit 67cf380948
9 changed files with 17 additions and 12649 deletions

View File

@@ -1,25 +1,22 @@
services:
db:
image: mariadb:10.11
image: mariadb:latest
command: --max-allowed-packet=64MB
restart: always
volumes:
- db:/var/lib/mysql:Z
environment:
- MARIADB_AUTO_UPGRADE=1
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
- ./db.env
app:
image: matomo
image: matomo:latest
restart: always
depends_on:
- db
volumes:
- ./config:/var/www/html/config:z
- ./logs:/var/www/html/logs:z
- ./.matomo/config:/var/www/html/config:z
- ./.matomo/logs:/var/www/html/logs:z
- matomo:/var/www/html:z
environment:
- MATOMO_DATABASE_HOST=db
env_file:
- ./db.env
ports: