docker run -d --name="umami-api" \
-p 3000:3000\
-e UMAMI_APP_URL="your-umami-domain.com/" \
-e UMAMI_APP_USERNAME="umami-username" \
-e UMAMI_APP_PASSWORD="umami-password" \
-e UMAMI_WEBSITEUUID="Your-WebsiteUuid" \
ihavenoideaa/umami-api
UMAMI_APP_URL: umami domainUMAMI_APP_USERNAME: umami usernameUMAMI_APP_PASSWORD: umami passwordUMAMI_WEBSITEUUID: 监控网站的 WebsiteUuidTIME_PERIOD: period The time period of data to return
"1day": Return data for one day (default) / "1hour" / "1week" / "1month"localhost:3000/getEvents will return umami Events json data
localhost:3000/getPageviews will return umami pageviews json data
github: https://github.com/ihavenoideaa/umami-api/tree/docker
Content type
Image
Digest
sha256:c5a7ff791…
Size
61.5 MB
Last updated
over 3 years ago
docker pull ihavenoideaa/umami-api