{
  "id": "gonic",
  "name": "gonic",
  "slogan": "A lightweight music server that speaks the Subsonic API, with a small web admin.",
  "category": "Media",
  "categorySlug": "media",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "GPL-3.0-only",
    "class": "copyleft"
  },
  "memoryMiB": 128,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install gonic --name my-gonic",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/gonic/",
  "docsUrl": "https://github.com/sentriz/gonic",
  "sourceRepo": "https://github.com/sentriz/gonic",
  "markdownUrl": "https://levelrail.com/templates/gonic.md",
  "jsonUrl": "https://levelrail.com/templates/gonic.json",
  "indexable": true,
  "description": "A lightweight music server that speaks the Subsonic API, with a small web admin.",
  "pinnedTag": "v0.23.0",
  "licenseUrl": "https://github.com/sentriz/gonic/blob/HEAD/LICENSE",
  "licenseClassLabel": "Copyleft license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Sign in as admin with password admin and change it at once. Add music to the music volume."
  ],
  "services": [
    {
      "name": "gonic",
      "image": "sentriz/gonic",
      "tag": "v0.23.0",
      "ports": [
        4747
      ],
      "volumes": [
        "data -> /data",
        "music -> /music",
        "podcasts -> /podcasts",
        "cache -> /cache",
        "playlists -> /playlists"
      ]
    }
  ],
  "env": [
    {
      "service": "gonic",
      "name": "GONIC_CACHE_PATH",
      "kind": "preset"
    },
    {
      "service": "gonic",
      "name": "GONIC_MUSIC_PATH",
      "kind": "preset"
    },
    {
      "service": "gonic",
      "name": "GONIC_PLAYLISTS_PATH",
      "kind": "preset"
    },
    {
      "service": "gonic",
      "name": "GONIC_PODCAST_PATH",
      "kind": "preset"
    },
    {
      "service": "gonic",
      "name": "TZ",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install gonic --name my-gonic",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/gonic/install \\\n  -d '{\n    \"name\": \"my-gonic\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install gonic --name my-gonic",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain gonic=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/gonic/install \\\n  -d '{\n    \"name\": \"my-gonic\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
