---
title: "Deploy Casdoor"
description: "[2026-11-04] Casdoor v4.25.0. UI-first IAM / SSO platform."
category: "Authentication"
url: https://railway.com/deploy/OJXBP4
---

# Deploy Casdoor

[2026-11-04] Casdoor v4.25.0. UI-first IAM / SSO platform.

**[Deploy Casdoor on Railway](https://railway.com/template/OJXBP4)**

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

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

## Template content

### casdoor

- **Image:** casbin/casdoor:v4.25.0
- **Public domain:** Yes

### Postgres

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

## Documentation

# Deploy and Host Casdoor on Railway

As an authentication platform, Casdoor implements the authentication by communicating with providers and users. Integrates with several identity providers.
This template deploys a Postgres instance and a Casdoor Docker image and links both in a simple way.

## About Hosting Casdoor

You can access your instance at the URL generated after deploys by using credentials:
admin
123

## Common Use Cases

- Single sign-on (SSO) portal for your apps with OAuth2 / OIDC / SAML
- Login, signup and user management UI you don't have to build
- Bridging many identity providers (Google, GitHub, etc.) into one place

## Dependencies for Casdoor Hosting

- A Postgres database (deployed by this template)

### Deployment Dependencies

- [Casdoor documentation](https://casdoor.org/docs/overview)

## Why Deploy Casdoor 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 Casdoor 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 casbin/casdoor:v4.24.0 (was floating latest).
- Postgres password is now autogenerated (was empty by default).

## Update 2026-11-04
- Bumped to casbin/casdoor:v4.25.0.

## 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/OJXBP4
