2fauth
OfficielleApplication Docker from A75G's Repository
Vue d'ensemble
A web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
Before running container Unraid CLI
mkdir /mnt/user/appdata/2fauth
chown 1000:1000 /mnt/user/appdata/2fauth
Register first username for admin user
More info in https://github.com/Bubka/2FAuth/blob/master/docker/docker-compose.yml and advanced
Exigences
Read Overview
Arguments d'exécution
- Interface utilisateur Web
http://[IP]:[PORT:8000]/- Réseau
bridge- Coquille
sh- Privilégié
- false
Configuration du modèle
PortPorttcp
- Cible
- 8000
- Valeur
- 8805
Appdata PathPathrw
- Cible
- /2fauth
- Valeur
- /mnt/user/appdata/2fauth/
APP_NAMEVariable
You can change the name of the app
- Valeur
- 2FAuth
SITE_OWNERVariable
This should be your email address
- Valeur
- mail@example.com
APP_KEYVariable
The encryption key for our database and sessions. Keep this very secure.
- Valeur
- SomeRandomStringOf32CharsExactly
APP_URLVariable
This variable must match your installation's external address.
- Valeur
- http://Unraid_IP:8805
APP_ENVVariable
- Valeur
- local
APP_DEBUGVariable
- Défaut
- false|true
- Valeur
- false
LOG_CHANNELVariable
- Valeur
- daily
LOG_LEVELVariable
- Défaut
- info|debug|notice|warning|error|critical|alert|emergency
- Valeur
- info
DB_DATABASEVariable
Database config (can only be sqlite)
- Valeur
- /srv/database/database.sqlite
CACHE_DRIVERVariable
- Valeur
- file
SESSION_DRIVERVariable
- Valeur
- file
MAIL_DRIVERVariable
- Valeur
- log
MAIL_HOSTVariable
- Valeur
- smtp.mailtrap.io
MAIL_PORTVariable
- Valeur
- 2525
MAIL_USERNAMEVariable
- Valeur
- null
MAIL_USERNAMEVariable
- Valeur
- null
MAIL_PASSWORDVariable
- Valeur
- null
MAIL_ENCRYPTIONVariable
- Valeur
- null
MAIL_FROM_NAMEVariable
- Valeur
- null
MAIL_FROM_ADDRESSVariable
- Valeur
- null
MAIL_VERIFY_SSL_PEERVariable
- Défaut
- true|false
- Valeur
- true
THROTTLE_APIVariable
Set to null to disable the API throttling.
- Valeur
- 60
LOGIN_THROTTLEVariable
This setting applies to both email/password and webauthn login attemps.
- Valeur
- 5
AUTHENTICATION_GUARDVariable
- Défaut
- web-guard|reverse-proxy-guard
- Valeur
- web-guard
AUTH_PROXY_HEADER_FOR_USERVariable
- Valeur
- null
AUTH_PROXY_HEADER_FOR_EMAILVariable
- Valeur
- null
PROXY_LOGOUT_URLVariable
- Valeur
- null
WEBAUTHN_NAMEVariable
- Valeur
- null
WEBAUTHN_IDVariable
- Valeur
- null
WEBAUTHN_ICONVariable
- Valeur
- null
WEBAUTHN_USER_VERIFICATIONVariable
- Défaut
- preferred|required|discouraged
- Valeur
- preferred
TRUSTED_PROXIESVariable
- Valeur
- *
PROXY_FOR_OUTGOING_REQUESTSVariable
- Valeur
- null
Catégories
Télécharger les statistiques
1,837,950
Total des téléchargements
100,694
Ce mois-ci
85,832
Moyenne / Mois
Total des téléchargements au fil du temps
Chargement du graphique...
Détails
Référentiel
2fauth/2fauth:latestDernière mise à jour2026-04-03
Première vue2022-01-23
Exécutez 2fauth sur Unraid.
2fauth est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.