Skip to content

Usage

First start

At first start, Palier works alone for a few minutes before everything is visible:

  1. The scan. It reads all containers, the tags of each image in the registry, the release notes and the security advisories. Allow one to two minutes for about ten stacks. palier shows the stacks right away, marked "checking versions".
  2. The plans. For each stack that has a newer version, the AI computes a plan. This takes from a few seconds to two minutes per stack. In the meantime, the stack shows "computing plan".
  3. The updates. Each plan that Palier can apply on its own starts right away, one stack after the other. The stack goes to "running", and palier log <run> -f shows each phase as it happens.

A large version jump can take a long time. GitLab, with 13 required stops and their background migrations, takes about two hours. The logs (docker logs -f palier) show at any moment what Palier is doing.

The stack list

palier (or the home page of the web interface) shows each stack with its status, its running version, the target of its plan, what needs attention, and the age of the last scan. Palier scans all stacks at startup, then every hour (PALIER_SCAN_INTERVAL), and also right after each run or decision.

Status What it means
up to date No newer version is available.
computing plan Newer versions exist, and no plan is stored yet.
analyzing with AI The AI is reading the release notes of the stack and preparing its plan. A plan shown meanwhile is the previous one.
plan ready A plan exists, and Palier will apply it on its own as soon as the previous stack is done.
awaiting decision A plan exists, but Palier cannot apply it on its own: a step is blocking or irreversible, the stack is postponed, or PALIER_AUTO or the palier.auto label of a service excludes it. The reason is given on the stack page.
incomplete plan The plan did not pass the checks. The reason is shown, and the plan is not applied.
detection incomplete The versions of a service could not be read from the registry.
running, completed, rolled back, failed, abandoned, stopped Result of the last run.
observed only Container started outside Compose. Palier shows it but does not touch it.

The stack page

palier show <stack> (or the stack page of the web interface) shows each service with its role (application or dependency), its running version, its dependencies and the available versions. A version that is too recent appears as "maturing" until it reaches the age set by PALIER_MATURATION (72 hours by default), unless it fixes a vulnerability in the running version. Each known vulnerability of the running version is flagged under the service, with its severity and a link to the advisory. Under the services, the last backup of each one. Each service also shows the address it is reached at: its palier.url label, its Traefik, Caddy or nginx-proxy settings, or the ports it publishes.

The stack page starts, stops and restarts the whole stack or one service, with docker compose. These buttons are hidden while a run is in progress, and refused if one starts meanwhile. Palier does not apply a plan on its own to a stack whose services are all stopped: the stack page says "the stack is stopped" until it is started again.

Below the services comes the plan, step by step. Each step shows:

  • the services that change version, and those that are stopped during the step;
  • the operations, in order;
  • the risk level (safe, attention, blocking, unknown) and the reversibility;
  • the quoted facts, with a link to the original note.

The plan also says which versions it rules out and why, for example a database major version that the application does not cite.

Decisions

Command Web button Effect
palier apply <stack> --dry-run Dry run Checks that each target image exists in the registry and describes what Palier would do, without changing anything.
palier apply <stack> Apply plan Scans the stack again, then starts the run right away, without waiting for automatic apply. Refused if the plan is incomplete.
palier ignore <stack> <service> <version> Ignore service version Removes this version from the proposed versions. The plan is recomputed without it.
palier accept <stack> <service> <version> Take version now Proposes a version that is still maturing, without waiting for the end of the delay. The plan is recomputed with it.
palier postpone <stack> <YYYY-MM-DD> Postpone Prevents automatic apply for this stack until that date.

Each decision is recorded with its author (cli, auto, the email of the person signed in to the web interface, or interface without sign-in) and its date.

History

The History page lists the runs and the backups of a week, a month or a year, for all stacks or one, with a chart of the period.

Follow a run

palier apply follows the run it starts until it ends; palier log <run> -f follows any run. In the web interface, the /runs/{id} page refreshes by itself. It shows the result at the top, the steps of the plan (verified, running, failed or upcoming), then each phase of the run. During a run, the stack page also shows these steps. On failure, it gives the cause, the details of the rollback and an excerpt of the logs of the service that failed.

A run ends in one of these states:

Result What it means
completed All steps passed.
rolled back A step failed, or Palier was restarted during the run, and the whole stack went back to the last verified step. Steps verified before that stay applied, and in automatic mode, a new run starts from there at the next scan.
abandoned Nothing was changed: the stack had changed since the plan was computed, a check of the catalog card (GitLab background migrations) did not pass yet, a backup hook or a backup failed, or the restore point was impossible.
stopped A step was applied and verified, but the check of the catalog card that must pass before the next step (GitLab background migrations) still failed after 2 hours. The stack stays on that step, and the next run changes nothing until the check passes.
failed Even the rollback failed. The details say what is left in the modified state.

Automatic apply

Palier is built to work alone. By default (PALIER_AUTO=all), it applies any complete plan, major versions included, whatever the risk level judged by the AI. What protects it is the restore point at each step, the verification by Docker and the return to the last verified step. Automatic runs go one stack after the other, to avoid loading the machine.

A plan waits for your decision only in these cases:

  • it is incomplete: a citation is missing, a required step is skipped, a dependency goes beyond what the application supports;
  • a step is blocking: it needs an action that Palier does not know how to do;
  • a step is irreversible: even restoring the volumes would not undo it;
  • the stack is postponed.

The "attention" level says what changes, it does not block. PALIER_AUTO=minor excludes major versions, PALIER_AUTO=patch keeps only patch releases, and PALIER_AUTO=off turns automatic apply off: every plan then waits for palier apply. The palier.auto label overrides this setting for one service, in both directions; a plan applies on its own only if every service it changes allows it.

Under the plan, palier show and the stack page say whether automatic apply will take it, or why it rules it out.

A plan is kept as long as its inputs do not change: Compose files, versions, release notes, model and Palier version. Identical inputs therefore always get the same plan and the same judgment, without a new AI call.

Notifications

Palier works on its own, so it only writes when there is something to know, and once per problem. Each problem gets two messages on each channel: one when it opens, one when it is resolved. A run that fails ten times in a row sends one message, not ten.

The channels are email, ntfy, Slack, Discord and Telegram, each set by its own variables (see notification channels). Every channel receives the same messages, as plain text.

Level When Examples
Alert Palier can no longer vouch for a stack. A rollback failed. Palier cannot read the Docker engine. A critical or high security advisory touches a running version and Palier cannot fix it on its own.
Information An update did not go through, but the stack runs. An update rolled back, not started (backup hook, migrations still running) or stopped after a verified step. A plan waits for a decision.
Notice Shown, never sent. The versions of a service cannot be read (seen in two scans in a row). They appear in the weekly report while they last.
Weekly report On Monday from 8:00, and only when something happened since the last one. The stacks updated, with their versions before and after; the updates that did not go through, grouped by stack; the problems opened, resolved and still open.

PALIER_EMAIL_LEVEL=alert keeps the alerts and the weekly report only; each other channel has its own level, such as PALIER_NTFY_LEVEL. A message that cannot be sent is tried again 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours later, without ever holding up a run. Problems are recorded even without a channel. palier names the open alerts above the stacks and counts the other problems (palier notify lists them all); the home page of the web interface shows the alerts in one line and each problem under the status of its stack.

palier notify          # channels, last message sent or its error, open problems
palier notify test     # sends a test message now and says whether the server accepted it
palier notify report   # sends the report of what happened since the last one, if anything did

The Settings page of the web interface shows the same channels, with a "Send a test" button.

The webhook

If PALIER_WEBHOOK_URL is set, Palier sends a JSON POST to it for each of these events:

event When
plan_ready A new complete plan has just been computed.
run_done A run is finished.
run_rolled_back A run was rolled back.
run_failed The rollback failed.
run_abandoned A run was abandoned before any change.
run_stopped A run stopped after a verified step, waiting for a check of the catalog card.
backup_done A backup asked by a palier.backup label was sent off the machine, before the update. One event per file.
backup_failed A backup failed; the run is abandoned and nothing is changed.
{"event": "run_rolled_back", "stack": "outline", "run": 12, "status": "rolled_back",
 "error": "…", "at": "2026-11-01T06:14:02Z"}
{"event": "plan_ready", "stack": "whoami", "steps": 1,
 "changes": ["whoami v1.10.1 → v1.12.0"], "at": "2026-11-01T06:14:02Z"}
{"event": "backup_done", "stack": "pgcoll", "run": 87, "service": "postgres", "kind": "dump",
 "engine": "postgres", "databases": ["lab", "postgres"],
 "location": "minio:palier/pgcoll/postgres/20261109T202416Z/dump.sql", "size": 41144,
 "sha256": "c844aa7dd282739fec23318b5ebf5b9721ccdf6bb7e9557ee253286e7da44b0f", "seconds": 0,
 "at": "2026-11-09T20:24:17Z"}

Dry runs do not send a webhook. A webhook that fails is not sent again.

With PALIER_WEBHOOK_SECRET, each request carries X-Palier-Signature: sha256=<hex>, the HMAC-SHA256 of the body with the secret. The receiver computes the same HMAC over the raw body, compares in constant time, and can refuse a request whose at is too old:

expected = "sha256=" + hmac.new(secret, body, hashlib.sha256).hexdigest()
ok = hmac.compare_digest(expected, request.headers["X-Palier-Signature"])

The command line

Palier runs as palier serve in its container. The command line talks to it through the palier.sock socket of the data directory, so it answers at once, from the last scan, and a run it starts goes on in Palier even if the terminal closes.

On the host, an alias makes it a plain command, with colors and the confirmation of apply, which both need the terminal that -it gives:

alias palier='docker exec -it palier palier'
palier                         # state of every stack
palier show outline            # services, advisories, upgrade path, plan and its sources
palier apply outline           # shows the plan, asks for confirmation, follows the run
palier apply outline --yes     # without confirmation, for scripts
palier apply outline --detach  # returns as soon as the run starts
palier apply outline --dry-run
palier runs [stack]            # last runs
palier log 14 -f               # log of a run, followed while it runs
palier ignore outline postgres 18.6
palier postpone outline 2026-12-01
palier scan                    # scan now and show the state
palier help                    # every command

In a script or a cron job, call docker exec palier palier … without -it.

  • Without a terminal, apply refuses to run without --yes.
  • Every command takes --json. apply --json prints the finished run.
  • The exit code is 1 when a run does not end "completed", or on any error, and 2 on an unknown command.
  • Colors only appear in a terminal (docker exec -t, which the alias gives), and NO_COLOR turns them off. Release notes, image names and logs are printed without their control characters.

Two commands work without the running Palier, in the process that runs them, and print JSON: palier scan --once (one scan of every stack) and palier plan <stack> --once (the plan of a stack, computed again if needed).

The web interface is off unless PALIER_LISTEN is set.