Commit 76b34aba authored by Michał Woźniak's avatar Michał Woźniak
Browse files

Update, Dockerfile files

parent 8b1359ed
......@@ -2,7 +2,7 @@ FROM python:2-alpine
MAINTAINER Michał "rysiek" Woźniak <>
# we need git
RUN apk add --no-cache git bash
RUN apk add --no-cache git
# add Matomo log analytics
RUN git clone --single-branch --branch 3.x-dev /opt/matomo-log-analytics
# Docker Matomo Log Analytics
Matomo's [log analytics](, dockerized.
Matomo's [log analytics](, dockerized &mdash; a thin wrapper around Matomo's log analytics script, dockerizing it in a way to make it runnable directly.
This could be useful if you want to run the script from `cron` but don't want to deal with dependencies on the host machine, or want to strictly limit what the script has access to for security or other reasons.
## Example
# build
docker build --tag matomo-log-analytics ./
# display help
docker run --rm matomo-log-analytics
# ingest a file
docker run \
-v '/srv/logs/:/srv/logs/' \
--name matomo-log-analytics \
matomo-log-analytics \
--url \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment