{
  "id": "ampache",
  "name": "Ampache",
  "slogan": "A web based audio and video streaming server with a library, playlists, users and a Subsonic compatible API, backed by MariaDB. Finish the install from the first page with the database details shown in the notes.",
  "category": "Media",
  "categorySlug": "media",
  "tags": [
    "mysql",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0-or-later",
    "class": "network-copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install ampache --name my-ampache",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/ampache/",
  "docsUrl": "https://ampache.org/",
  "sourceRepo": "https://github.com/ampache/ampache",
  "markdownUrl": "https://levelrail.com/templates/ampache.md",
  "jsonUrl": "https://levelrail.com/templates/ampache.json",
  "indexable": true,
  "description": "A web based audio and video streaming server with a library, playlists, users and a Subsonic compatible API, backed by MariaDB. Finish the install from the first page with the database details shown in the notes.",
  "pinnedTag": "8.4.0",
  "licenseUrl": "https://github.com/ampache/ampache/blob/HEAD/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Open the page and run the installer with database host db, database ampache, user root and the generated root password, then create the admin."
  ],
  "services": [
    {
      "name": "ampache",
      "image": "ampache/ampache",
      "tag": "8.4.0",
      "ports": [
        80
      ],
      "volumes": [
        "config -> /var/www/html/config",
        "media -> /media"
      ]
    },
    {
      "name": "db",
      "image": "mariadb",
      "tag": "11.8.9",
      "ports": [],
      "volumes": [
        "mariadb_data -> /var/lib/mysql"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "MYSQL_DATABASE",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "MYSQL_ROOT_PASSWORD",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install ampache --name my-ampache",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/ampache/install \\\n  -d '{\n    \"name\": \"my-ampache\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install ampache --name my-ampache",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain ampache=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/ampache/install \\\n  -d '{\n    \"name\": \"my-ampache\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
