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

Update README.md, Dockerfile files

Deleted entrypoint.sh
parent 8b1359ed
......@@ -2,7 +2,7 @@ FROM python:2-alpine
MAINTAINER Michał "rysiek" Woźniak <rysiek@hackerspace.pl>
# 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 https://github.com/matomo-org/matomo-log-analytics.git /opt/matomo-log-analytics
......
# Docker Matomo Log Analytics
Matomo's [log analytics](https://matomo.org/log-analytics/), dockerized.
Matomo's [log analytics](https://matomo.org/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
```bash
# 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 https://matomo.example.org/ \
/srv/logs/access.log
```
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