Tinyauth
★ 8.6kA self-hosted alternative to Auth0
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- Authentication middleware for applications
- Standalone authentication server
- OAuth support
- LDAP support
- Access controls
- Traefik, Nginx, and Caddy proxy support
- OpenID Certified Basic OP
Details
- Last Updated
- Nov 28, 2026
- Created
- Jan 19, 2025
- Install Methods
- docker-compose
- Authentication
- oauthldap
- Deployment
Deployment: Docker Compose ✓3 Containers — light hosting footprintRuns as 3 containers
Run Tinyauth yourself
Pick how much you want to manage.
HostingerSponsored
One click
Hostinger template, runs in your own Hostinger account.
About 5 minutes to running
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
3 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.
Is this your project? Sponsor a listing
Run Tinyauth with Docker Compose
Compose file from the Tinyauth project repository.
3 services · infra: traefik · 1 unclassified (whoami)
no resource limits declared
needs persistent storage (2 volumes)
docker-compose.example.yml · @ 54e86ea · scanned Nov 26, 2026
services:
traefik:
image: traefik:v3.6
command: --api.insecure=true --providers.docker
ports:
- 80:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock
whoami:
image: traefik/whoami:latest
labels:
traefik.enable: true
traefik.http.routers.whoami.rule: Host(`whoami.example.com`)
traefik.http.routers.whoami.middlewares: tinyauth
tinyauth:
image: ghcr.io/tinyauthapp/tinyauth:v5
environment:
- TINYAUTH_APPURL=https://tinyauth.example.com
- TINYAUTH_AUTH_USERS=user:$$2a$$10$$UdLYoJ5lgPsC0RKqYH/jMua7zIn0g9kPqWmhYayJYLaZQ/FTmH2/u # user:password
volumes:
- ./data:/data
labels:
traefik.enable: true
traefik.http.routers.tinyauth.rule: Host(`tinyauth.example.com`)
traefik.http.middlewares.tinyauth.forwardauth.address: http://tinyauth:3000/api/auth/traefik
This file may be out of date. Check the Tinyauth documentation for current setup steps.
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.

