Templatestwofauth
security
twofauth
2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.
securityaccessoriesMariaDB
What gets deployed
Web
twofauth server
MariaDB
managed database
GitHub stars3,933
About
2FAuth is a web based self-hosted alternative to One Time Passcode (OTP) generators like Google Authenticator, designed for both mobile and desktop.
Managed services
- MariaDBTCP:3306
Environment Variables
| Variable | Description | Required |
|---|---|---|
| APP_NAME | Default: 2Fauth | Optional |
| APP_TIMEZONE | Default: UTC | Optional |
| APP_DEBUG | Default: false | Optional |
| SITE_OWNER | Default: example@example.com | Optional |
| APP_KEY | Default: SomeRandomStringOf32CharsExactly | Optional |
| APP_URL | Default: https://twofauth.localhost | Optional |
| DB_CONNECTION | Default: mysql | Optional |
| DB_HOST | Default: {{KUBERO_APP_NAME}}-mysql | Optional |
| DB_PORT | Default: 3306 | Optional |
| DB_DATABASE | Default: twofauth | Optional |
| DB_USERNAME | Default: twofauth | Optional |
| DB_PASSWORD | Default: twofauth | Optional |
| APP_ENV | Default: production | Optional |
Deploy twofauth
One click to deploy a fully configured twofauth instance with all dependencies pre-wired.
Deploy NowReady to deploy twofauth?
No infrastructure to manage. Just connect your repo and go live in seconds.