{
  "id": "picsur",
  "name": "Picsur",
  "slogan": "A simple image host with on-the-fly format conversion.",
  "category": "Media",
  "categorySlug": "media",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0",
    "class": "network-copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install picsur --name my-picsur",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/picsur/",
  "docsUrl": "https://github.com/CaramelFur/Picsur",
  "sourceRepo": "https://github.com/CaramelFur/Picsur",
  "markdownUrl": "https://levelrail.com/templates/picsur.md",
  "jsonUrl": "https://levelrail.com/templates/picsur.json",
  "indexable": true,
  "description": "AGPL 3.0 licensed. Sign in as admin with the generated admin password shown in the deployment variables.",
  "pinnedTag": "17-alpine",
  "licenseUrl": "https://github.com/CaramelFur/Picsur/blob/master/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "17-alpine",
      "ports": [],
      "volumes": [
        "db_data -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "picsur",
      "image": "ghcr.io/caramelfur/picsur",
      "tag": "0.5.6",
      "ports": [
        8080
      ],
      "volumes": []
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "preset"
    },
    {
      "service": "picsur",
      "name": "PICSUR_ADMIN_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "picsur",
      "name": "PICSUR_DB_DATABASE",
      "kind": "preset"
    },
    {
      "service": "picsur",
      "name": "PICSUR_DB_HOST",
      "kind": "preset"
    },
    {
      "service": "picsur",
      "name": "PICSUR_DB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "picsur",
      "name": "PICSUR_DB_PORT",
      "kind": "preset"
    },
    {
      "service": "picsur",
      "name": "PICSUR_DB_USERNAME",
      "kind": "preset"
    },
    {
      "service": "picsur",
      "name": "PICSUR_JWT_SECRET",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy picsur --name my-picsur",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/picsur/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy picsur --name my-picsur"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/picsur/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
