Self-host Wallabag with Postgres with Levelrail

A read it later app that saves web articles in a clean, distraction free format, with its data kept in a bundled Postgres database instead of SQLite. The default login is wallabag with the password wallabag, change it first.

  • Authorwallabag
  • LicenceMIT
  • Memory512 MiB
  • Services2

How to self-host Wallabag with Postgres

  1. Pull the images

    2 images are pulled on your server.

    Show images
    • postgres:17.11-alpine
    • wallabag/wallabag:2.6.15
  2. Create the app

    2 services start in a single Compose app, with 2 named volume mounts for your data, on port 80.

  3. Fill in the secrets

    3 secrets are generated and stored encrypted, 10 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

After the first start

  • Sign in as wallabag with the password wallabag, then change the password under your profile.

Wallabag with Postgres requirements

Memory
About 512 MiB
Architectures
amd64 unknown, arm64 unknown
Ports
80
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
MIT, permissive license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Wallabag with Postgres. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Wallabag with Postgres docs page.

Deploy Wallabag with Postgres your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Wallabag with Postgres from the CLI

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain db=app.example.com.

levelrail-cli templates install wallabag-postgres --name my-wallabag-postgres

Deploy Wallabag with Postgres with the API

Create a token in the dashboard first. Name, env and domains are the request fields.

curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/wallabag-postgres/install \
  -d '{
    "name": "my-wallabag-postgres"
  }'

Wallabag with Postgres configuration

Wallabag with Postgres services

ServiceImagePortsVolumes
db postgres:17.11-alpine none pgdata -> /var/lib/postgresql/data
wallabag wallabag/wallabag:2.6.15 80 wallabag_images -> /var/www/wallabag/web/assets/images

Wallabag with Postgres environment variables

VariableServiceValue
POSTGRES_DB db Preset by the template
POSTGRES_PASSWORD db Generated at deploy
POSTGRES_USER db Preset by the template
SYMFONY__ENV__DATABASE_CHARSET wallabag Preset by the template
SYMFONY__ENV__DATABASE_DRIVER wallabag Preset by the template
SYMFONY__ENV__DATABASE_HOST wallabag Preset by the template
SYMFONY__ENV__DATABASE_NAME wallabag Preset by the template
SYMFONY__ENV__DATABASE_PASSWORD wallabag Generated at deploy
Show all 13 variables
  • SYMFONY__ENV__DATABASE_PORTwallabagPreset by the template
  • SYMFONY__ENV__DATABASE_USERwallabagPreset by the template
  • SYMFONY__ENV__DOMAIN_NAMEwallabagPreset by the template
  • SYMFONY__ENV__FOSUSER_REGISTRATIONwallabagPreset by the template
  • SYMFONY__ENV__SECRETwallabagGenerated at deploy

Ports and volumes

Ports
80
Volumes
2 named mounts: pgdata -> /var/lib/postgresql/data, wallabag_images -> /var/www/wallabag/web/assets/images

Wallabag with Postgres FAQ

How much memory does Wallabag with Postgres need?

The catalog lists about 512 MiB of memory for Wallabag with Postgres across its 2 services.

Does Wallabag with Postgres run on arm64?

For Wallabag with Postgres, arm64 support is not confirmed; amd64 is unknown.

What licence is Wallabag with Postgres under?

Wallabag with Postgres is licensed under MIT, which is permissive, with few conditions on reuse.

Does Wallabag with Postgres need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which database does Wallabag with Postgres bundle?

The template includes Postgres, running as its own service.

Which ports does Wallabag with Postgres use?

Wallabag with Postgres listens on port 80 inside the stack.

Where does Wallabag with Postgres keep its data?

In named volumes: pgdata mounted at /var/lib/postgresql/data and wallabag_images mounted at /var/www/wallabag/web/assets/images.

Can I deploy Wallabag with Postgres on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Wallabag with Postgres, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image postgres:17.11-alpine, wallabag/wallabag:2.6.15 is what you deploy there.

levelrail-cli templates install wallabag-postgres --name my-wallabag-postgres