{
  "id": "castopod",
  "name": "Castopod",
  "slogan": "An open-source podcast hosting platform with built-in analytics, a web player, and ActivityPub federation.",
  "category": "Media",
  "categorySlug": "media",
  "tags": [
    "mysql",
    "redis",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0-or-later",
    "class": "network-copyleft"
  },
  "memoryMiB": 1024,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install castopod --name my-castopod",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/castopod/",
  "docsUrl": "https://docs.castopod.org/",
  "sourceRepo": "https://github.com/ad-aures/castopod",
  "markdownUrl": "https://levelrail.com/templates/castopod.md",
  "jsonUrl": "https://levelrail.com/templates/castopod.json",
  "indexable": true,
  "description": "An open-source podcast hosting platform with built-in analytics, a web player, and ActivityPub federation. Runs 3 containers (castopod, mariadb, redis), with castopod listening on port 8080; data is kept in named volumes.",
  "pinnedTag": "1.15.4",
  "licenseUrl": "https://github.com/ad-aures/castopod/blob/develop/LICENSE.md",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "castopod",
      "image": "castopod/castopod",
      "tag": "1.15.4",
      "ports": [
        8080
      ],
      "volumes": [
        "castopod_media -> /var/www/castopod/public/media"
      ]
    },
    {
      "name": "mariadb",
      "image": "mariadb",
      "tag": "11.2",
      "ports": [],
      "volumes": [
        "castopod_db -> /var/lib/mysql"
      ]
    },
    {
      "name": "redis",
      "image": "redis",
      "tag": "7.2-alpine",
      "ports": [],
      "volumes": [
        "castopod_cache -> /data"
      ]
    }
  ],
  "env": [
    {
      "service": "castopod",
      "name": "CP_ANALYTICS_SALT",
      "kind": "generated"
    },
    {
      "service": "castopod",
      "name": "CP_BASEURL",
      "kind": "preset"
    },
    {
      "service": "castopod",
      "name": "CP_CACHE_HANDLER",
      "kind": "preset"
    },
    {
      "service": "castopod",
      "name": "CP_DISABLE_HTTPS",
      "kind": "preset"
    },
    {
      "service": "castopod",
      "name": "CP_REDIS_HOST",
      "kind": "preset"
    },
    {
      "service": "castopod",
      "name": "CP_REDIS_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "castopod",
      "name": "MYSQL_DATABASE",
      "kind": "preset"
    },
    {
      "service": "castopod",
      "name": "MYSQL_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "castopod",
      "name": "MYSQL_USER",
      "kind": "generated"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_DATABASE",
      "kind": "preset"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "mariadb",
      "name": "MYSQL_USER",
      "kind": "generated"
    },
    {
      "service": "redis",
      "name": "REDIS_PASSWORD",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy castopod --name my-castopod",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/castopod/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy castopod --name my-castopod"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/castopod/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
