Skip to content

Docker image for umami, open-source website analytics.

License

Notifications You must be signed in to change notification settings

uetchy/docker-umami

Repository files navigation

docker-umami

Docker: pulls (scoped) Docker: pulls (scoped)

Dockerized version of umami.

Use

Bootstrap

git clone https://github.com/uetchy/docker-umami && cd docker-umami
docker-compose pull
cp .env.placeholder .env
# edit .env

Start server

docker-compose up -d
open http://localhost:3000

Default password for the user admin is umami which is hardcoded in there. Change admin password as soon as you finish setting up.

Stop server

docker-compose down

Update server

docker-compose down --rmi local
git pull && docker-compose pull
docker-compose up -d

Nginx proxy with Let's Encrypt

With docker-compose-letsencrypt-nginx-proxy-companion (LNPC), you can run umami with nginx proxy armed with SSL certs issued by Let's Encrypt.

After setting up LNPC, configure LETSENCRYPT_HOST, LETSENCRYPT_EMAIL, and VIRTUAL_HOST in .env and run the following script.

docker-compose -f docker-compose.lnpc.yml up -d

Contributing

See Contribution Guide.