Back to all templates
Stack Auth logo

Stack Auth

Development1024MB+ RAM

Open-source, self-hosted alternative to Auth0/Clerk — full user management, OAuth, magic links, and team/permission management with a React SDK

developmentiamstackauthopen-sourceself-hosteddocker

Deploy Stack Auth in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Stack Auth

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required

After Deployment

After deploying Stack Auth with Server Compass, complete these steps to finish setup

1

Visit http://YOUR_SERVER_IP:{{PORT}} and create the super-admin + first project

2

Update NEXT_PUBLIC_STACK_API_URL via Env Vars to your production URL before going live

3

Configure OAuth providers (Google, GitHub, etc.) in the dashboard

4

Install the SDK in your app (`npm install @stackframe/stack`) and paste in the project keys

5

Test sign-up + sign-in end-to-end before pointing real users at it

Need help? Check out our documentation for detailed guides.

Stack Auth FAQ

Common questions about self-hosting Stack Auth

How do I deploy Stack Auth with Server Compass?

Simply download Server Compass, connect to your VPS, and select Stack Auth from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Stack Auth?

Stack Auth requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Stack Auth data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Stack Auth backup and restore procedures.

How do I update Stack Auth to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Stack Auth image will be pulled and deployed with zero downtime.

Is Stack Auth free to self-host?

Stack Auth is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Stack Auth?

Download Server Compass and deploy Stack Auth to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass