Video coming soon…
🛠️ Setup Beaver Habits — Minimal Self-Hosted Habit Tracker
Deploy Beaver Habits on Ubuntu with Docker — a clean, minimal habit tracker with a GitHub-style contribution grid, storing data on disk, on port 8220.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/beaverhabits/beaverhabits-ubuntu.sh
chmod +x beaverhabits-ubuntu.sh
sudo bash beaverhabits-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/beaverhabits/beaverhabits-ubuntu.sh
2 Make it Executable
chmod +x beaverhabits-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts daya0576/beaverhabits on port 8220 with HABITS_STORAGE set to USER_DISK and data persisted to ./data.
sudo bash beaverhabits-ubuntu.sh
4 Register Your Account
Open Beaver Habits and register your account on first visit, then add the habits you want to track:
http://<your-server-ip>:8220
Ports Used
| Port | Purpose |
|---|---|
| 8220 | Web UI (host → container 8080) — register on first visit |
| HABITS_STORAGE | USER_DISK — data kept as files in ./data |
| ./data | All habit history |