{
  "id": "romm",
  "name": "RomM",
  "slogan": "A self-hosted retro game library manager. It scans your ROM collection, matches metadata and cover art, and lets you browse, search and play games in the browser. Runs with a bundled MariaDB database. On first open, the setup page asks you to create the admin login.",
  "category": "Media",
  "categorySlug": "media",
  "tags": [
    "mysql",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0",
    "class": "network-copyleft"
  },
  "memoryMiB": 1024,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install romm --name my-romm",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/romm/",
  "docsUrl": "https://docs.romm.app/latest/",
  "sourceRepo": "https://github.com/rommapp/romm",
  "markdownUrl": "https://levelrail.com/templates/romm.md",
  "jsonUrl": "https://levelrail.com/templates/romm.json",
  "indexable": true,
  "description": "A self-hosted retro game library manager. It scans your ROM collection, matches metadata and cover art, and lets you browse, search and play games in the browser. Runs with a bundled MariaDB database. On first open, the setup page asks you to create the admin login.",
  "pinnedTag": "11.8.9",
  "licenseUrl": "https://github.com/rommapp/romm/blob/master/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Open the app and create the admin account on the setup page.",
    "Copy your ROM files into the library volume, one folder per platform, then run a scan from the app."
  ],
  "services": [
    {
      "name": "db",
      "image": "mariadb",
      "tag": "11.8.9",
      "ports": [],
      "volumes": [
        "dbdata -> /var/lib/mysql"
      ]
    },
    {
      "name": "romm",
      "image": "rommapp/romm",
      "tag": "5.4.1",
      "ports": [
        8080
      ],
      "volumes": [
        "resources -> /romm/resources",
        "library -> /romm/library",
        "assets -> /romm/assets",
        "config -> /romm/config",
        "redis -> /redis-data"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "MARIADB_DATABASE",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "MARIADB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "MARIADB_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "MARIADB_USER",
      "kind": "preset"
    },
    {
      "service": "romm",
      "name": "DB_HOST",
      "kind": "preset"
    },
    {
      "service": "romm",
      "name": "DB_NAME",
      "kind": "preset"
    },
    {
      "service": "romm",
      "name": "DB_PASSWD",
      "kind": "generated"
    },
    {
      "service": "romm",
      "name": "DB_PORT",
      "kind": "preset"
    },
    {
      "service": "romm",
      "name": "DB_USER",
      "kind": "preset"
    },
    {
      "service": "romm",
      "name": "DISABLE_DOWNLOAD_ENDPOINT_AUTH",
      "kind": "preset"
    },
    {
      "service": "romm",
      "name": "ROMM_AUTH_SECRET_KEY",
      "kind": "generated"
    },
    {
      "service": "romm",
      "name": "ROMM_DB_DRIVER",
      "kind": "preset"
    },
    {
      "service": "romm",
      "name": "TZ",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install romm --name my-romm",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/romm/install \\\n  -d '{\n    \"name\": \"my-romm\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install romm --name my-romm",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain db=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/romm/install \\\n  -d '{\n    \"name\": \"my-romm\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
