{
  "id": "lychee",
  "name": "Lychee",
  "slogan": "A self-hosted photo management and gallery app with albums, sharing and public links. MIT licensed. Runs on SQLite in one container. On first open, the setup page asks you to create the admin login.",
  "category": "Applications",
  "categorySlug": "applications",
  "tags": [
    "single-container"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 384,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install lychee --name my-lychee",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/lychee/",
  "docsUrl": "https://lycheeorg.dev/docs/",
  "sourceRepo": "https://github.com/LycheeOrg/Lychee",
  "markdownUrl": "https://levelrail.com/templates/lychee.md",
  "jsonUrl": "https://levelrail.com/templates/lychee.json",
  "indexable": true,
  "description": "A self-hosted photo management and gallery app with albums, sharing and public links. MIT licensed. Runs on SQLite in one container. On first open, the setup page asks you to create the admin login.",
  "pinnedTag": "v7.12.0",
  "licenseUrl": "https://github.com/LycheeOrg/Lychee/blob/master/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "lychee",
      "image": "ghcr.io/lycheeorg/lychee",
      "tag": "v7.12.0",
      "ports": [
        8000
      ],
      "volumes": [
        "data -> /data",
        "uploads -> /app/public/uploads",
        "storage -> /app/storage/app"
      ]
    }
  ],
  "env": [
    {
      "service": "lychee",
      "name": "APP_DEBUG",
      "kind": "preset"
    },
    {
      "service": "lychee",
      "name": "APP_ENV",
      "kind": "preset"
    },
    {
      "service": "lychee",
      "name": "APP_KEY",
      "kind": "generated"
    },
    {
      "service": "lychee",
      "name": "APP_URL",
      "kind": "preset"
    },
    {
      "service": "lychee",
      "name": "DB_CONNECTION",
      "kind": "preset"
    },
    {
      "service": "lychee",
      "name": "DB_DATABASE",
      "kind": "preset"
    },
    {
      "service": "lychee",
      "name": "PHP_TZ",
      "kind": "preset"
    },
    {
      "service": "lychee",
      "name": "TIMEZONE",
      "kind": "preset"
    },
    {
      "service": "lychee",
      "name": "TRUSTED_PROXIES",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install lychee --name my-lychee",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/lychee/install \\\n  -d '{\n    \"name\": \"my-lychee\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install lychee --name my-lychee",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain lychee=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/lychee/install \\\n  -d '{\n    \"name\": \"my-lychee\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
