- make Playwright a runtime dependency (installer requires it) - record-and-replay Matomo web installer flow (more stable than container bootstrap) - replace removed UsersManager.getTokenAuth with cookie-session login + createAppSpecificTokenAuth - make HttpClient return (status, body) for HTTPError responses - set deterministic container names in docker-compose and pass MATOMO_CONTAINER_NAME https://chatgpt.com/share/694a7b30-3dd4-800f-ba48-ae7083cfa4d8
30 lines
716 B
YAML
30 lines
716 B
YAML
services:
|
|
db:
|
|
image: mariadb:11
|
|
container_name: e2e-db
|
|
environment:
|
|
MARIADB_DATABASE: matomo
|
|
MARIADB_USER: matomo
|
|
MARIADB_PASSWORD: matomo_pw
|
|
MARIADB_ROOT_PASSWORD: root_pw
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "mariadb-admin ping -uroot -proot_pw --silent"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 60
|
|
|
|
matomo:
|
|
image: matomo:5.3.2
|
|
container_name: e2e-matomo
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
ports:
|
|
- "8080:80"
|
|
environment:
|
|
MATOMO_DATABASE_HOST: db
|
|
MATOMO_DATABASE_ADAPTER: mysql
|
|
MATOMO_DATABASE_USERNAME: matomo
|
|
MATOMO_DATABASE_PASSWORD: matomo_pw
|
|
MATOMO_DATABASE_DBNAME: matomo
|