Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
An identity and access management server with a web admin console that exposes one user directory over OAuth 2.0, OIDC, SAML, CAS, LDAP and SCIM, with Casbin-based authorization policies. It runs as a single Go binary backed by MySQL, PostgreSQL or SQLite.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (480 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 install tested), Raspberry Pi 5 (8 GB) (arm64 install tested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# Casdoor + MySQL — standard image, configured through env vars
echo "DB_PASS=$(openssl rand -hex 16)" > .env
cat > docker-compose.yml <<'EOF'
services:
casdoor:
image: casbin/casdoor:4.11.0
restart: unless-stopped
ports: ["8000:8000"]
environment: { driverName: mysql, dataSourceName: "root:${DB_PASS}@tcp(db:3306)/", dbName: casdoor }
depends_on: { db: { condition: service_healthy } }
db:
image: mysql:8.4
restart: unless-stopped
environment: { MYSQL_ROOT_PASSWORD: "${DB_PASS}", MYSQL_DATABASE: casdoor }
volumes: ["casdoor-db:/var/lib/mysql"]
healthcheck: { test: ["CMD", "mysqladmin", "ping", "-h", "localhost"], interval: 5s, retries: 30 }
volumes: { casdoor-db: {} }
EOF
docker compose up -d # → http://SERVER_IP:8000 (built-in / admin / 123 — change it)Casdoor used 480 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.8.1 (first boot, measured Sep 2026). We list a minimum of 512 MB.
The Casdoor install snippet is marked verified on Ubuntu 26.04 (Sep 2026).