Self-host Ackee with Levelrail

A self-hosted, privacy-friendly web analytics tool that tracks page views without cookies or personal data. MIT licensed. Runs with a MongoDB service. The admin password is generated for you and shown in the deployment variables.

  • Authorelecterious
  • LicenceMIT
  • Memory640 MiB
  • Archarm64
  • Services2

How to self-host Ackee

  1. Pull the images

    2 images are pulled on your server.

    Show images
    • electerious/ackee:3.7.1
    • mongo:7.0.45
  2. Create the app

    2 services start in a single Compose app, with 1 named volume mount for your data, on port 3000.

  3. Fill in the secrets

    1 secret is generated and stored encrypted, 3 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

After the first start

  • Sign in with the admin username and the generated password, then add your site to get the tracking snippet.

Ackee requirements

Memory
About 640 MiB
Architectures
amd64 image published, arm64 image published
Ports
3000
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
MIT, permissive license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Ackee. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Ackee docs page.

Deploy Ackee your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Ackee from the CLI

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain ackee=app.example.com.

levelrail-cli templates install ackee --name my-ackee

Deploy Ackee with the API

Create a token in the dashboard first. Name, env and domains are the request fields.

curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/ackee/install \
  -d '{
    "name": "my-ackee"
  }'

Ackee configuration

Ackee services

ServiceImagePortsVolumes
ackee electerious/ackee:3.7.1 3000 none
mongo mongo:7.0.45 none mongo -> /data/db

Ackee environment variables

VariableServiceValue
ACKEE_MONGODB ackee Preset by the template
ACKEE_PASSWORD ackee Generated at deploy
ACKEE_TRACKER ackee Preset by the template
ACKEE_USERNAME ackee Preset by the template

Ports and volumes

Ports
3000
Volumes
1 named mount: mongo -> /data/db

Ackee FAQ

How much memory does Ackee need?

The catalog lists about 640 MiB of memory for Ackee across its 2 services.

Does Ackee run on arm64?

For Ackee, an arm64 image is published; amd64 is image published.

What licence is Ackee under?

Ackee is licensed under MIT, which is permissive, with few conditions on reuse.

Does Ackee need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which database does Ackee bundle?

The template includes MongoDB, running as its own service.

Which ports does Ackee use?

Ackee listens on port 3000 inside the stack.

Where does Ackee keep its data?

In a named volume: mongo mounted at /data/db.

Can I deploy Ackee on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id ackee for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image electerious/ackee:3.7.1, mongo:7.0.45 is what you deploy there.

levelrail-cli templates install ackee --name my-ackee