Deploy casdoor
Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway
Just deployed
Deploy and Host Casdoor on Railway
About Hosting Casdoor on Railway
Casdoor runs as a single Dockerized IAM/SSO service on Railway using the official all-in-one image. This gives you a fast browser-ready deployment with built-in SQLite for evaluation and demos.
Tech Stack
- Casdoor (Go backend + Web UI)
- SQLite (embedded in casdoor-all-in-one)
- Docker image delivery on Railway
Why Deploy Casdoor on Railway
Railway provides quick image-based deployment, instant HTTPS domains, and simple environment-variable configuration. You can launch Casdoor in one service and access the admin console immediately.
Common Use Cases
- OAuth 2.1 / OIDC identity provider for internal apps
- Centralized SSO portal for teams
- Rapid IAM prototyping with built-in admin UI
Deployment Notes
- Service image is pinned to
casbin/casdoor-all-in-one:3.18.0for predictable deployments. - HTTP routing uses
PORT=8000. - Default initial login is
built-in/adminwith password123. ADMIN_USERNAMEandADMIN_PASSWORDare exposed as template variables for visibility.- This all-in-one variant is best for quick start/testing; use external DB topology for production.
Dependencies for Casdoor on Railway
This template uses a single self-contained service without external database dependencies.
Deployment Dependencies
| Service | Image | Port | Volume |
|---|---|---|---|
| casdoor | casbin/casdoor-all-in-one:3.18.0 | 8000 | - |
Template Content

