2FAuth logo

2FAuth

v9.0.1

2FAuth is a self-hosted web app for managing two-factor authentication tokens: organize all your 2FA accounts, generate codes in the browser, and sign in with passkeys or WebAuthn.

Deploy on wtree Cloud

Deploy 2FAuth on wtree Cloud

  1. Install wtree Cloud on your server if you haven't already.
  2. In wtree Cloud, open a project and click Create Service → Template.
  3. Search for 2FAuth and click Create — wtree Cloud configures domains, environment variables, and volumes for you.

Alternatively, create a Compose service, go to Advanced → Import from Base64, and paste this payload:

base64
ewogICJjb21wb3NlIjogInNlcnZpY2VzOlxuICAyZmF1dGg6XG4gICAgaW1hZ2U6IDJmYXV0aC8yZmF1dGg6OS4wLjFcbiAgICByZXN0YXJ0OiB1bmxlc3Mtc3RvcHBlZFxuICAgIGVudmlyb25tZW50OlxuICAgICAgLSBBUFBfVVJMPSR7QVBQX1VSTH1cbiAgICAgIC0gQVBQX0tFWT0ke0FQUF9LRVl9XG4gICAgdm9sdW1lczpcbiAgICAgIC0gMmZhdXRoX2RhdGE6LzJmYXV0aFxuICAgIGV4cG9zZTpcbiAgICAgIC0gXCI4MDAwXCJcblxudm9sdW1lczpcbiAgMmZhdXRoX2RhdGE6IiwKICAiY29uZmlnIjogIlt2YXJpYWJsZXNdXG5tYWluX2RvbWFpbiA9IFwiJHtkb21haW59XCJcbmFwcF9rZXkgPSBcIiR7cGFzc3dvcmQ6MzJ9XCJcblxuW2NvbmZpZ11cbm1vdW50cyA9IFtdXG5bW2NvbmZpZy5kb21haW5zXV1cbnNlcnZpY2VOYW1lID0gXCIyZmF1dGhcIlxucG9ydCA9IDgwMDBcbmhvc3QgPSBcIiR7bWFpbl9kb21haW59XCJcblxuW2NvbmZpZy5lbnZdXG5BUFBfVVJMID0gXCJodHRwczovLyR7bWFpbl9kb21haW59XCJcbkFQUF9LRVkgPSBcIiR7YXBwX2tleX1cIiIKfQ==

Configuration

The exact Docker Compose and template configuration this template deploys.

Related Templates

Self-host 2FAuth in minutes

wtree Cloud is a self-hosted deployment platform. Deploy 2FAuth and 697+ other templates on your own infrastructure with a single click.