---
title: "Deploy Authentik"
description: "[2026-11-04] authentik 2026.8.5. BREAKING: Redis dropped upstream."
category: "Authentication"
url: https://railway.com/deploy/nBQI2d
---

# Deploy Authentik

[2026-11-04] authentik 2026.8.5. BREAKING: Redis dropped upstream.

**[Deploy Authentik on Railway](https://railway.com/template/nBQI2d)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/nBQI2d/manifest.json

- **Creator:** beuz's Projects
- **Category:** Authentication
- **Total deploys:** 152

## Template content

### Postgres

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### server

- **Source:** https://github.com/leonardochappuis/authentik-railway
- **Public domain:** Yes

### worker

- **Source:** https://github.com/leonardochappuis/authentik-railway

## Documentation

# Deploy and Host Authentik on Railway

Authentik can be seamlessly integrated into existing environments to support new protocols. authentik is also a great solution for implementing sign-up, recovery, and other similar features in your application, saving you the hassle of dealing with them.

## About Hosting Authentik

This template deploys the required docker images for it to work.
For initial configuration, visit your server url at {URL}/if/flow/initial-setup/

## Common Use Cases

- SSO for your apps and infrastructure with OIDC, SAML, LDAP and proxy auth
- Sign-up, recovery and MFA flows without building them yourself
- Protecting internal tools behind a single identity provider

## Dependencies for Authentik Hosting

- A Postgres database (deployed by this template; authentik 2025.10+ needs nothing else)
- An authentik server service and a worker service (both deployed by this template)

### Deployment Dependencies

- [authentik documentation](https://docs.goauthentik.io/)
- [Template source repo](https://github.com/leonardochappuis/authentik-railway)

## Why Deploy Authentik on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Authentik on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Update 2026-10-27
- Pinned authentik 2026.8.5 (was floating latest).
- BREAKING (upstream, authentik 2025.10): Redis was removed from authentik's stack - everything runs on PostgreSQL now. The Redis service in this template is no longer used and can be deleted from new deploys. Existing deploys that update their image past 2025.10 can delete their Redis service and AUTHENTIK_REDIS__* variables.
- DB connection now uses Railway private networking.
- Postgres pinned to 17.

## Similar templates

- [Keycloak](https://railway.com/deploy/mSwigX) — [2026-11-04] Keycloak with keywind theme + Apple & Discord providers
- [lua-protector](https://railway.com/deploy/lua-protector) — Test deployed my project first
- [bknd](https://railway.com/deploy/p4nTYL) — Feature-rich yet lightweight backend

Open this page in a browser: https://railway.com/deploy/nBQI2d
