# Deploy 2FAuth with Easypanel

URL: /templates/2fauth

2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.

## Benefits

### Increased Security

Two-factor authentication provides a more secure method of access compared to using a password alone. By adding a second authentication factor, you protect your

### Account Protection

Even if your password is compromised or stolen, a second authentication factor helps secure your account.

## Features

### Generate passwords

The main purpose of 2FAuth Serve you some fresh TOTP/HOTP security codes aka One-Time Passwords.

### Work anywhere

It's a Web App, it just works, whatever device you're on. You only need one device (not even yours) and an Internet connection.

### QR codes scan

Scan and decode QR codes to add a 2FA account in no time. Actually, it decodes any QR code, even non 2FA.

### 2FA management

Manage your 2FA accounts, organize and classify them using Groups, edit & delete them. You can even manually add an account without scanning a QR code.

### Protect your data

2FAuth protects your data with Privacy, Self-hosting, WebAuthn authentication, OTP obfuscation, and Auto lock.

### Multi-user

Share your instance with your family, your friends. Everyone can have an account.

### Import / Export

Migrate from another 2FA app to 2FAuth or export your 2FA data in a breeze.

## Configuration

- `appServiceName` (App Service Name, required): 2fauth

- `appServiceImage` (App Service Image, required): 2fauth/2fauth:6.1.3

- `appOwnerMail` (App Owner Mail): mail@example.com

- `databaseType` (Database Type, required): SQLite / PostgreSQL / MariaDB / MySQL

- `databaseServiceName` (Database Service Name, required): 2fauth-db

- `redis` (Enable Redis): false

- `redisServiceName` (Database Service Name, required): 2fauth-redis

## Services

- 2fauth-db: postgres, optional

- 2fauth-redis: redis, optional

- 2fauth: app (2fauth/2fauth:6.1.3)

## Resources

- [Website](https://2fauth.app/)

- [Documentation](https://docs.2fauth.app/)

- [Github](https://github.com/Bubka/2FAuth)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/2fauth)