---
title: Deploy Wallabag with AI on Blossom
url: "/deploy/wallabag/"
canonical_url: https://blossom88.com/deploy/wallabag/
markdown_url: https://blossom88.com/deploy/wallabag.md
summary: Run a private reading list, keep your saved articles in managed PostgreSQL,
  and export one as an EPUB.
categories:
- deployment
- productivity
stack:
- PHP
- Symfony
- PostgreSQL
---

# Deploy Wallabag with AI on Blossom

[Wallabag](https://wallabag.org/) is a read-later app for saving and
organizing articles. You can export a saved article and read it offline.

## Ask Your Agent

> **Ask your AI agent:** Deploy Wallabag privately on Blossom and help me save an article I can read offline.
>
> Follow this guide: https://blossom88.com/deploy/wallabag/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| Wallabag | Serve the reading list and export articles | App Capacity |
| PostgreSQL | Keep the saved article text, tags, and user account | Blossom Managed Data |

## Deploy Wallabag

Use Blossom Account access and link managed PostgreSQL. Initialize the
empty database once, then sign in and change the initial account password.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the official image on port 80. The
[tested settings adapter](/deploy/recipes/wallabag/managed-settings.php)
maps the linked `DATABASE_URL` to Wallabag's settings. Run it with `php -r`
and apply its exported variables before the stock entrypoint. It preserves
the database TLS mode, sets the routed URL, and closes public registration.
Keep `SYMFONY__ENV__SECRET` stable.

Run the empty-database initializer as a one-off job with the application
role and `WALLABAG_INIT_EMPTY_DB=true` in the adapter. Render the image's
configuration templates, then run `php bin/console wallabag:install --env=prod -n`
as the image's application user. Check readiness at `/api/info`. For this
text-only workflow PostgreSQL holds the saved articles.
[Wallabag Docker configuration](https://github.com/wallabag/docker#database-initialization).

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data wallabag-plan.yml
    blossom service:create --data wallabag.yml
    blossom job:run:create --environment environment-100 --data wallabag-initialize.yml --follow
    blossom environment:deploy --id environment-100 --follow

</details>

## Import a Saved Article

Import a Wallabag v2 export you own and find the article in your
reading list. A sample text-only article is enough to try it.

![Find the imported workshop article in the private reading list.](/deploy/assets/images/wallabag/wallabag-reading-list.webp)

> **Ask your AI agent:** Help me import an article into Wallabag.

> Follow this guide: https://blossom88.com/deploy/wallabag/



## Read It Offline

Open the article and export it as an EPUB. Open the downloaded file to
check that it includes the article text.

> **Ask your AI agent:** Export this Wallabag article as an EPUB I can read offline.

> Follow this guide: https://blossom88.com/deploy/wallabag/



## Reopen the Article After an Update

Update the web Container, sign in again, and find the same article in
your reading list. Open a new EPUB export to check its text.

![Open the same saved article on a new Container.](/deploy/assets/images/wallabag/wallabag-saved-article.webp)


> **Ask your AI agent:** Update Wallabag and check that my saved article can still export as an EPUB.

> Follow this guide: https://blossom88.com/deploy/wallabag/



## What You Get

- A private reading list
- A saved article you can read and export as an EPUB
- The same article after a Container update

Tested on Blossom: A fresh sign-in on a replacement Container reopened the same article and exported its text in a new EPUB.
