2FAuth
★ 4.2kA self-hosted alternative to 1password
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- 2FA account management
- group organization
- QR code scanning and decoding
- manual account creation
- account editing
- TOTP generation
- HOTP generation
- Steam Guard codes
- import from multiple formats
- security key login
Details
- Last Updated
- Nov 23, 2026
- Created
- May 15, 2019
- Install Methods
- dockerdocker-composesource
- Requirements
- PHP 8.4Laravel server requirementsa database supported by Laravel
- Default Port
- 8000From the project's Compose file
- Authentication
- local
- Backup & Export
- file-backupnative-export
- Runtime / Stack
- PHPDocker
- Privacy & Independence
- No Cloud Required
- Deployment
Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container
Run 2FAuth yourself
Pick how much you want to manage.
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
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
2 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host.
Is this your project? Sponsor a listing
Run 2FAuth with Docker Compose
Compose file from the 2FAuth project repository.
1 service
no resource limits declared
needs persistent storage (1 volume)
docker/docker-compose.yml · @ beb0f52 · scanned Nov 3, 2026
version: "3"
services:
2fauth:
env_file: settings.env
image: 2fauth/2fauth:${TAG:-latest}
container_name: 2fauth
volumes:
- ./2fauth:/2fauth
ports:
- 8000:8000/tcp
This file may be out of date. Check the 2FAuth documentation for current setup steps.
Tags
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.
