2fauth

2fauth

官方

Docker 应用程序 from A75G's Repository

概述

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

要求

Read Overview

运行时参数

网络用户界面
http://[IP]:[PORT:8000]/
网络
bridge
外壳
sh
特权
false

模板配置

PortPorttcp
目标
8000
价值
8805
Appdata PathPathrw
目标
/2fauth
价值
/mnt/user/appdata/2fauth/
APP_NAMEVariable

You can change the name of the app

价值
2FAuth
SITE_OWNERVariable

This should be your email address

价值
mail@example.com
APP_KEYVariable

The encryption key for our database and sessions. Keep this very secure.

价值
SomeRandomStringOf32CharsExactly
APP_URLVariable

This variable must match your installation's external address.

价值
http://Unraid_IP:8805
APP_ENVVariable
价值
local
APP_DEBUGVariable
默认值
false|true
价值
false
LOG_CHANNELVariable
价值
daily
LOG_LEVELVariable
默认值
info|debug|notice|warning|error|critical|alert|emergency
价值
info
DB_DATABASEVariable

Database config (can only be sqlite)

价值
/srv/database/database.sqlite
CACHE_DRIVERVariable
价值
file
SESSION_DRIVERVariable
价值
file
MAIL_DRIVERVariable
价值
log
MAIL_HOSTVariable
价值
smtp.mailtrap.io
MAIL_PORTVariable
价值
2525
MAIL_USERNAMEVariable
价值
null
MAIL_USERNAMEVariable
价值
null
MAIL_PASSWORDVariable
价值
null
MAIL_ENCRYPTIONVariable
价值
null
MAIL_FROM_NAMEVariable
价值
null
MAIL_FROM_ADDRESSVariable
价值
null
MAIL_VERIFY_SSL_PEERVariable
默认值
true|false
价值
true
THROTTLE_APIVariable

Set to null to disable the API throttling.

价值
60
LOGIN_THROTTLEVariable

This setting applies to both email/password and webauthn login attemps.

价值
5
AUTHENTICATION_GUARDVariable
默认值
web-guard|reverse-proxy-guard
价值
web-guard
AUTH_PROXY_HEADER_FOR_USERVariable
价值
null
AUTH_PROXY_HEADER_FOR_EMAILVariable
价值
null
PROXY_LOGOUT_URLVariable
价值
null
WEBAUTHN_NAMEVariable
价值
null
WEBAUTHN_IDVariable
价值
null
WEBAUTHN_ICONVariable
价值
null
WEBAUTHN_USER_VERIFICATIONVariable
默认值
preferred|required|discouraged
价值
preferred
TRUSTED_PROXIESVariable
价值
*
PROXY_FOR_OUTGOING_REQUESTSVariable
价值
null

类别

下载统计数据

1,837,950
下载总数
100,694
本月
85,832
平均每月

长期下载总量

加载图表...

详细信息

存储库
2fauth/2fauth:latest
最后更新2026-04-03
初见2022-01-23

在Unraid 上运行 2fauth 。

2fauth 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。