From 52d6d5746215a64028b4f8fe9d84d2bcee6c19cd Mon Sep 17 00:00:00 2001 From: Urban Date: Thu, 3 Dec 2026 03:23:26 +0100 Subject: [PATCH] Add openhabittracker (#5872) Co-authored-by: Jinjinov Co-authored-by: Nate <85373263+nmfretz@users.noreply.github.com> --- openhabittracker/data/.gitkeep | 0 openhabittracker/docker-compose.yml | 27 +++++++++++++++++ openhabittracker/exports.sh | 1 + openhabittracker/umbrel-app.yml | 47 +++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 openhabittracker/data/.gitkeep create mode 100644 openhabittracker/docker-compose.yml create mode 100644 openhabittracker/exports.sh create mode 100644 openhabittracker/umbrel-app.yml diff --git a/openhabittracker/data/.gitkeep b/openhabittracker/data/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/openhabittracker/docker-compose.yml b/openhabittracker/docker-compose.yml new file mode 100644 index 000000000..337895052 --- /dev/null +++ b/openhabittracker/docker-compose.yml @@ -0,0 +1,27 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: openhabittracker_server_1 + APP_PORT: 8080 + PROXY_AUTH_WHITELIST: "/api/*" + + server: + image: jinjinov/openhabittracker:1.2.6@sha256:0c80fbd3cbfd7533b2a9d0e38bf90eedbbdc5a6151fa4165fc6a7b13219a7d23 + restart: on-failure + stop_grace_period: 1m + environment: + AppSettings__UserName: umbrel + AppSettings__Email: umbrel@example.com + AppSettings__Password: ${APP_PASSWORD} + AppSettings__JwtSecret: ${APP_OPENHABITTRACKER_JWT_SECRET} + volumes: + - ${APP_DATA_DIR}/data:/app/.OpenHabitTracker + healthcheck: + # the aspnet base image ships neither curl nor wget; bash /dev/tcp works + test: ["CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/8080"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 15s diff --git a/openhabittracker/exports.sh b/openhabittracker/exports.sh new file mode 100644 index 000000000..72cc13d13 --- /dev/null +++ b/openhabittracker/exports.sh @@ -0,0 +1 @@ +export APP_OPENHABITTRACKER_JWT_SECRET="$(derive_entropy "env-${app_entropy_identifier}-JWT_SECRET" | head -c32 | base64 | tr -d '\n')" diff --git a/openhabittracker/umbrel-app.yml b/openhabittracker/umbrel-app.yml new file mode 100644 index 000000000..4d4f0643a --- /dev/null +++ b/openhabittracker/umbrel-app.yml @@ -0,0 +1,47 @@ +manifestVersion: 1 +id: openhabittracker +name: OpenHabitTracker +tagline: Take notes, plan tasks and track habits +category: files +version: "1.2.6" +port: 8425 +description: >- + OpenHabitTracker is a free, ad-free, open source app for Markdown notes, tasks and habits - with no third-party account and no telemetry. + This app is the self-hosted sync server: native OpenHabitTracker apps for Windows, Linux, Android, iOS and macOS log into it and keep all devices in sync, with all data on your Umbrel. + + + Habits work without streak guilt: instead of a streak that resets to zero, each habit shows how overdue it is compared to your desired interval. + Streaks exist as opt-in extra information, off by default. + + + - Markdown notes with categories, priorities and colors + + - Tasks with checklists and time tracking + + - Habits with flexible intervals, statistics and calendar backfill + + - Advanced search, filter and sort + + - Import your notes from Google Keep + + - Data export and import: JSON, YAML, TSV, Markdown + + - REST API with OpenAPI UI at /scalar/v1 + + - 26 themes with dark and light modes, localized to 20 languages +releaseNotes: "" +developer: Jinjinov +website: https://openhabittracker.net +dependencies: [] +repo: https://github.com/Jinjinov/OpenHabitTracker +support: https://github.com/Jinjinov/OpenHabitTracker/issues +gallery: + - 1.webp + - 2.webp + - 3.webp + - 4.webp +path: "" +defaultUsername: umbrel +deterministicPassword: true +submitter: Jinjinov +submission: https://github.com/getumbrel/umbrel-apps/pull/5872