wallabag

by HelmForge

Helm chartv1.3.16App 2.6.18Apache-2.0Verified publisher

Wallabag self-hosted read-it-later application with PostgreSQL and optional Redis

About this chart

Wallabag Helm Chart

Deploy Wallabag on Kubernetes with the official wallabag/wallabag image. Wallabag is a self-hosted read-it-later application: save articles from the web, strip distractions, and read them in the browser, mobile apps, or e-readers.

Features

  • Working first install: a setup init container installs the Wallabag schema on first start and runs Doctrine migrations on every upgrade
  • Initial super-admin from a Secret: username, email, and a generated or supplied password; no wallabag/wallabag default account is left behind
  • PostgreSQL backend: HelmForge PostgreSQL subchart or an external server
  • Optional Redis: subchart or external instance for the asynchronous import queue
  • Stable secrets: the Symfony secret and admin password survive helm upgrade
  • Configurable listener: wallabag.port changes the real nginx listener
  • Exposure: Ingress or Gateway API HTTPRoutes
  • S3 backups: scheduled pg_dump archives uploaded to S3-compatible storage
  • Hardened defaults: no privilege escalation, minimal capabilities, RuntimeDefault seccomp, no ServiceAccount token

Installation

HTTPS repository:

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install wallabag helmforge/wallabag \
  --set wallabag.domainName=https://wallabag.example.com

OCI registry:

helm install wallabag oci://ghcr.io/helmforgedev/helm/wallabag \
  --set wallabag.domainName=https://wallabag.example.com

Quick Start

kubectl rollout status deploy/wallabag-wallabag --timeout=300s
kubectl get secret wallabag-wallabag-admin -o jsonpath='{.data.admin-password}' | base64 -d; echo
kubectl port-forward svc/wallabag-wallabag 8080:80

Open http://localhost:8080/ and log in as wallabag with the password above. Resource names follow <release>-wallabag, so the release wallabag creates wallabag-wallabag.

Architecture

The pod runs a setup init container and the wallabag container, both from the same image. The setup container waits for PostgreSQL, installs the schema when wallabag_internal_setting is missing, configures the initial super-admin once, and applies pending migrations on later starts. The main container runs nginx and PHP-FPM under the upstream s6 supervisor. See DESIGN.md for the full design and its boundaries.

Configuration

Application

KeyDefaultDescription
wallabag.domainNamehttps://wallabag.example.comPublic URL, scheme and host without a trailing slash
wallabag.serverNameWallabagInstance name shown in the UI and API
wallabag.port80nginx listener inside the container
wallabag.registrationfalseAllow public user registration
wallabag.secret""Symfony secret; generated once when empty
wallabag.existingSecret""Existing Secret with the Symfony secret
wallabag.existingSecretKeysymfony-secretKey in wallabag.existingSecret
wallabag.admin.usernamewallabagInitial super-admin username
wallabag.admin.email[email protected]Initial super-admin email
wallabag.admin.password""Initial super-admin password; generated once when empty
wallabag.admin.existingSecret""Existing Secret with the admin password
wallabag.admin.existingSecretPasswordKeyadmin-passwordKey in wallabag.admin.existingSecret
wallabag.extraEnv[]Extra environment variables for the Wallabag container
setup.enabledtrueRun the schema install and migration init container
setup.databaseWaitTimeoutSeconds300Seconds to wait for PostgreSQL
setup.resources{}Resources for the setup container

Database and Redis

KeyDefaultDescription
postgresql.enabledtrueDeploy the HelmForge PostgreSQL subchart
postgresql.auth.database / usernamewallabagDatabase and user created by the subchart
database.external.host""External PostgreSQL host (required without the subchart)
database.external.port"5432"External PostgreSQL port
database.external.name / usernamewallabagExternal database and user
database.external.password""Inline password, stored in <release>-wallabag-db
database.external.existingSecret""Existing Secret with the database password
database.external.existingSecretPasswordKeypasswordKey in the database Secret
redis.enabledfalseDeploy the HelmForge Redis subchart
externalRedis.host / port"" / "6379"External Redis endpoint
externalRedis.password / existingSecret""External Redis password or existing Secret
externalRedis.existingSecretPasswordKeyredis-passwordKey in the Redis Secret

See docs/external-database.md for managed PostgreSQL and docs/configuration.md for Redis and listener details.

Exposure, probes, and storage

KeyDefaultDescription
service.type / service.portClusterIP / 80Service type and port
ingress.enabledfalseRender an Ingress
ingress.ingressClassNametraefikIngress class
gatewayAPI.enabledfalseRender Gateway API HTTPRoutes
gatewayAPI.httpRoutes[]HTTPRoutes; each requires parentRefs
probes.path/api/infoHTTP path used by every probe
persistence.enabledtruePVC for /var/www/wallabag/data
persistence.size2GiPVC size
persistence.existingClaim""Use an existing PVC
backup.enabledfalseScheduled pg_dump upload to S3

Backup settings are documented in docs/backup-restore.md. Every key is listed in values.yaml and validated by values.schema.json.

Examples

  • examples/external-database.yaml: managed PostgreSQL with an existing Secret
  • examples/production-with-redis-and-backup.yaml: Ingress with TLS, Redis, daily backups, and resource limits

Security

  • The upstream image starts as root and drops to nobody for PHP-FPM, so runAsNonRoot and a read-only root filesystem are not supported. The chart disables privilege escalation, drops every capability the image does not need, applies the RuntimeDefault seccomp profile, and does not mount a ServiceAccount token.
  • Every credential is read from a Secret and accepts an existing Secret.
  • Registration is disabled by default. Enable it only when the instance is meant to be public.

Troubleshooting

SymptomCheck
Pod stuck in Init:0/1kubectl logs deploy/<release>-wallabag -c setup; PostgreSQL is not reachable or the credentials are wrong
HTTP 500 on every pageThe schema is missing; confirm setup.enabled=true and read the setup logs
Login rejected after installRead the password from <release>-wallabag-admin; it applies only to the first install
Container exits with Unable to configure the nginx listenerThe image changed its nginx configuration; pin a supported image.tag

More Information

Security Scan: wallabag

FrameworkScore
MITRE + NSA + SOC287.878784%

Security posture acceptable.

Deploy wallabag with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wallabag 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 chartwallabag is pinned at v1.3.16 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