Skip to content

Repository files navigation

Main-DockerGo Report CardMaintainabilityDocker Image Size (latest semver)

Click A Habit

Daily habit tracker and counter

Screenshot

More Themes

Quick start

docker run --name clickahabit \
-e "TZ=Asia/Novosibirsk" \
-v ~/.dockerdata/ClickAHabit:/data/ClickAHabit \
-p 8852:8852 \
aceberg/clickahabit

Or use docker-compose.yml

Config

Configuration can be done through config file or environment variables

VariableDescriptionDefault
HOSTListen address0.0.0.0
PORTPort for web GUI8852
THEMEAny theme name from https://bootswatch.com in lowcase or additional (emerald, grass, sand)united
COLORBackground color: light or darklight
BTNWIDTHAdjust buttons to theme195px
TZSet your timezone for correct time""

Options

KeyDescriptionDefault
-dPath to config dir/data/ClickAHabit
-nPath to local JS and Themes (node-bootstrap)""

Local network only

By default, this app pulls themes, icons and fonts from the internet. But, in some cases, it may be useful to have an independent from global network setup. I created a separate image with all necessary modules and fonts.

docker run --name node-bootstrap \
-v ~/.dockerdata/icons:/app/icons \ # For local images
-p 8850:8850 \
aceberg/node-bootstrap
docker run --name clickahabit \
-v ~/.dockerdata/ClickAHabit:/data/ClickAHabit \
-p 8852:8852 \
aceberg/clickahabit -n "http://$YOUR_IP:8850"

Or use docker-compose

Roadmap

  • Auth
  • History filter
  • Statistics page

Thanks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages