{
  "id": "2fauth",
  "name": "2FAuth",
  "slogan": "A web app to manage your two-factor authentication accounts and generate one-time codes.",
  "category": "Security",
  "categorySlug": "security",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "AGPL-3.0",
    "class": "network-copyleft"
  },
  "memoryMiB": 128,
  "architectures": {
    "amd64": "published",
    "arm64": "tested"
  },
  "trust": "verified",
  "verified": true,
  "status": "active",
  "installCommand": "levelrail-cli templates install 2fauth --name my-2fauth",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/2fauth/",
  "docsUrl": "https://docs.2fauth.app",
  "sourceRepo": "https://github.com/Bubka/2FAuth",
  "markdownUrl": "https://levelrail.com/templates/2fauth.md",
  "jsonUrl": "https://levelrail.com/templates/2fauth.json",
  "indexable": true,
  "description": "A web app to manage your two-factor authentication accounts and generate one-time codes. Runs as a single container from the 2fauth image, listening on port 8000 and keeps its data in named volumes.",
  "pinnedTag": "8.0.2",
  "licenseUrl": "https://github.com/Bubka/2FAuth/blob/master/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "2fauth",
      "image": "2fauth/2fauth",
      "tag": "8.0.2",
      "ports": [
        8000
      ],
      "volumes": [
        "twofauth_data -> /2fauth"
      ]
    }
  ],
  "env": [
    {
      "service": "2fauth",
      "name": "APP_KEY",
      "kind": "generated"
    },
    {
      "service": "2fauth",
      "name": "APP_URL",
      "kind": "preset"
    },
    {
      "service": "2fauth",
      "name": "DB_CONNECTION",
      "kind": "preset"
    },
    {
      "service": "2fauth",
      "name": "SITE_OWNER",
      "kind": "preset"
    }
  ],
  "verifiedTag": "8.0.2",
  "verifiedArches": [
    "arm64"
  ],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy 2fauth --name my-2fauth",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/2fauth/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy 2fauth --name my-2fauth"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/2fauth/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
