mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-29 16:40:52 +03:00
Add Ziit (#3407)
Co-authored-by: Alexander L. <lackner.alex@gmail.com> Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
4 files changed
+90
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,36 @@
|
||||
services:
|
||||
app_proxy:
|
||||
environment:
|
||||
APP_HOST: ziit_app_1
|
||||
APP_PORT: 3000
|
||||
# Editor extensions and badges use API keys, not Umbrel login
|
||||
PROXY_AUTH_WHITELIST: "/api/external/*,/api/public/*"
|
||||
|
||||
app:
|
||||
image: ghcr.io/0pandadev/ziit:v1.3.3@sha256:dfd1d51d2096aef1675d9d99e08e698963691142ecfa7b1d58f9031b5c2cff93
|
||||
restart: on-failure
|
||||
environment:
|
||||
ZIIT_DATABASE_URL: "postgresql://postgres:${APP_ZIIT_POSTGRES_PASSWORD}@ziit_postgres_1:5432/ziit"
|
||||
ZIIT_PASETO_KEY: ${APP_ZIIT_PASETO_KEY}
|
||||
# Umbrel proxies requests, so rate limits use the forwarded client IP
|
||||
ZIIT_TRUST_PROXY: 1
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
postgres:
|
||||
image: timescale/timescaledb-ha:pg17.11-ts2.32.0@sha256:e801086738f54cd32949baae7c78033fb774bca3c3abb50e1af59a72caf745e9
|
||||
restart: on-failure
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: ${APP_ZIIT_POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ziit
|
||||
PGDATA: /var/lib/postgresql/data
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d ziit"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
@@ -0,0 +1,2 @@
|
||||
export APP_ZIIT_POSTGRES_PASSWORD="$(derive_entropy "${app_entropy_identifier}-postgres-password")"
|
||||
export APP_ZIIT_PASETO_KEY="k4.local.$(openssl dgst -sha256 -binary <<< "$(derive_entropy "${app_entropy_identifier}-paseto-key")" | base64)"
|
||||
@@ -0,0 +1,52 @@
|
||||
manifestVersion: 2.0
|
||||
id: ziit
|
||||
storage:
|
||||
dataRoot: data
|
||||
environment:
|
||||
- name: ZIIT_DISABLE_REGISTRATION
|
||||
services:
|
||||
- app
|
||||
default: "false"
|
||||
options:
|
||||
- "false"
|
||||
- "true"
|
||||
note: >-
|
||||
Set to true to stop new accounts from being created once you have registered yours.
|
||||
- name: ZIIT_BASE_URL
|
||||
services:
|
||||
- app
|
||||
note: >-
|
||||
Only needed for GitHub login. The address you open Ziit at, including https://, for example https://umbrel.local:3029.
|
||||
- name: ZIIT_GITHUB_CLIENT_ID
|
||||
services:
|
||||
- app
|
||||
note: >-
|
||||
GitHub OAuth client ID, for signing in with GitHub. Also enter the client secret below and set the base URL above.
|
||||
- name: ZIIT_GITHUB_CLIENT_SECRET
|
||||
services:
|
||||
- app
|
||||
note: >-
|
||||
GitHub OAuth client secret, from the same OAuth app as the client ID above.
|
||||
category: developer
|
||||
name: Ziit
|
||||
version: "1.3.3"
|
||||
tagline: The Swiss army knife of code time tracking
|
||||
description: >-
|
||||
Ziit (pronounced 'tseet') is an open-source, self-hostable alternative to WakaTime. It provides a clean, minimal, and fast dashboard for displaying coding statistics, while ensuring privacy by keeping all data on your own server. Ziit tracks coding activity such as projects, languages, editors, files, branches, operating systems, and time spent coding all presented in a familiar interface inspired by Plausible Analytics.
|
||||
releaseNotes: ""
|
||||
developer: PandaDEV
|
||||
website: https://ziit.app
|
||||
dependencies: []
|
||||
repo: https://github.com/0PandaDEV/Ziit
|
||||
support: https://github.com/0PandaDEV/Ziit/issues
|
||||
port: 3029
|
||||
gallery:
|
||||
- 1.webp
|
||||
- 2.webp
|
||||
- 3.webp
|
||||
path: ""
|
||||
requiresHttps: true
|
||||
defaultUsername: ""
|
||||
defaultPassword: ""
|
||||
submitter: PandaDEV
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/3407
|
||||
Reference in new issue
Block a user