Skip to content

feat(authentik): bump to 2026.2.2 and Postgres 18#818

Open
Nico-Pergande wants to merge 1 commit intoDokploy:canaryfrom
Nico-Pergande:update-authentik-2026.2.2-pg18
Open

feat(authentik): bump to 2026.2.2 and Postgres 18#818
Nico-Pergande wants to merge 1 commit intoDokploy:canaryfrom
Nico-Pergande:update-authentik-2026.2.2-pg18

Conversation

@Nico-Pergande
Copy link
Copy Markdown

@Nico-Pergande Nico-Pergande commented Apr 26, 2026

Summary

  • Bumps Authentik from 2025.6.3 to 2026.2.2 (latest stable, released 2026-04-07).
  • Bumps Postgres from postgres:16-alpine to postgres:18-alpine.
  • Redis is intentionally retained — Authentik's upstream compose dropped it, but AUTHENTIK_REDIS__HOST is still consumed by the server/worker, so behavior is unchanged for existing users.

⚠️ Breaking change for existing users

The Postgres major bump (16 → 18) makes the existing volume incompatible. Users on a previous version of this template will need to dump from PG 16 and restore into PG 18 before pulling the new image:

docker compose exec -T postgresql pg_dumpall -U authentik > authentik-pg16.sql
docker compose down
docker volume rm <stack>_database
docker compose pull && docker compose up -d postgresql
docker compose exec -T postgresql psql -U authentik -d authentik < authentik-pg16.sql
docker compose up -d

Test plan

  • Use the auto-deployed preview to deploy the blueprint on a fresh project; confirm postgresql, redis, server, worker all reach healthy.
  • Open the assigned domain → run /-/initial-setup/ flow → create admin user.
  • Sign in, create a test application + provider, restart the stack, confirm data persists.

🤖 Generated with Claude Code

Greptile Summary

Bumps Authentik from 2025.6.3 to 2026.2.2 and PostgreSQL from 16-alpine to 18-alpine, keeping all three version references (docker-compose.yml, template.toml, meta.json) in sync. The PR author correctly notes the PostgreSQL major-version incompatibility and includes migration instructions.

Confidence Score: 5/5

Safe to merge — all version references are consistent and no logic is modified.

The change is purely a version bump across three files with no new logic. All version strings are kept in sync, the breaking-change caveat is documented, and no existing conventions from AGENTS.md are violated by the changed lines.

No files require special attention.

Reviews (1): Last reviewed commit: "feat(authentik): bump to 2026.2.2 and Po..." | Re-trigger Greptile

Updates the Authentik blueprint from 2025.6.3 to the latest stable
2026.2.2, and bumps Postgres from 16-alpine to 18-alpine. Redis is
intentionally retained.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 26, 2026 17:03
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 26, 2026
@dosubot dosubot Bot added the version-bump label Apr 26, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 26, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 9095db8

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Authentik blueprint to newer upstream releases, aligning the template’s metadata and default container tags with Authentik 2026.2.2, and bumping the bundled PostgreSQL service to a newer major version for deployments via Dokploy.

Changes:

  • Bump meta.json Authentik version from 2025.6.32026.2.2.
  • Update Authentik image default tag in template.toml and docker-compose.yml to 2026.2.2.
  • Upgrade the blueprint’s PostgreSQL image from postgres:16-alpinepostgres:18-alpine.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
meta.json Updates the Authentik template’s published version to 2026.2.2.
blueprints/authentik/template.toml Bumps the default AUTHENTIK_TAG to 2026.2.2.
blueprints/authentik/docker-compose.yml Updates Authentik server/worker image defaults and upgrades Postgres to v18.

@@ -1,7 +1,7 @@
version: "3.8"
services:
postgresql:
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Postgres major version bump (16 → 18) will prevent existing deployments from starting with the current database volume. Since most users consume blueprints without reading the PR description, add an inline note (in this compose file and/or template.toml) pointing out the required dump/restore migration steps before upgrading.

Suggested change
postgresql:
postgresql:
# WARNING: Upgrading an existing deployment from PostgreSQL 16 to 18 is not
# compatible with the current `database` volume. Before deploying this update,
# perform a PostgreSQL dump/restore migration into a fresh PG 18 data directory.

Copilot uses AI. Check for mistakes.
services:
postgresql:
image: docker.io/library/postgres:16-alpine
image: docker.io/library/postgres:18-alpine
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

postgres:18-alpine is a floating tag (patch/alpine base can change under the same tag), which can lead to non-reproducible deploys and unexpected upgrades. Prefer pinning to a specific patch + distro tag (similar to other blueprints that use e.g. postgres:16.10-alpine3.22).

Suggested change
image: docker.io/library/postgres:18-alpine
image: docker.io/library/postgres:18.0-alpine3.22

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files. version-bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants