grocy

by QuenchWorks

Helm chartv0.0.3App 4.7.1MITVerified publisher

Grocy: groceries and household management (stock and expiry, shopping lists, recipes, chores) with the first user generated at install, SQLite on a volume and native TLS. Hardened by QuenchWorks: nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks Grocy

Hardened Grocy, groceries and household management: stock and expiry tracking, shopping lists, recipes and meal plans, chores, batteries and equipment, with a barcode-friendly web UI and a REST API. The image builds the release with composer and yarn on Wolfi PHP 8.5 behind QuenchWorks' nginx; it runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest.

Install

helm install grocy oci://ghcr.io/quenchworks/charts/grocy --set currency=EUR --set tls.enabled=true
kubectl get secret grocy-grocy -o jsonpath='{.data.password}' | base64 -d   # user admin

The first user is created with the database from admin.username and the generated password, so Grocy's default admin/admin account never exists. Grocy reads them once; change the password later in the UI. Note: the image pins SQLite 3.53.4, because SQLite 3.54.x breaks Grocy's migrations (grocy/grocy#3010).

Configuration

KeyDefaultWhat it does
admin.usernameadminThe first user
admin.existingSecret""A Secret with key password
currency, localeUSD, enGROCY_CURRENCY, GROCY_DEFAULT_LOCALE
baseURL""GROCY_BASE_URL behind a proxy
settings{}Any other GROCY_* setting from config.php
persistence.size5Giconfig.php, grocy.db and uploads
tls.enabledfalseHTTPS on 8080 (existing Secret, cert-manager or a Helm-made CA)

Verify the image

cosign verify ghcr.io/quenchworks/images/grocy \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy grocy with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has grocy on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgrocy is pinned at v0.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply