{
  "id": "hedgedoc",
  "name": "HedgeDoc",
  "slogan": "Real-time collaborative markdown notes you can host yourself.",
  "category": "Productivity",
  "categorySlug": "productivity",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0-only",
    "class": "network-copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install hedgedoc --name my-hedgedoc",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/hedgedoc/",
  "docsUrl": "https://docs.hedgedoc.org",
  "sourceRepo": "https://github.com/hedgedoc/hedgedoc",
  "markdownUrl": "https://levelrail.com/templates/hedgedoc.md",
  "jsonUrl": "https://levelrail.com/templates/hedgedoc.json",
  "indexable": true,
  "description": "Real-time collaborative markdown notes you can host yourself. Runs 2 containers (db, hedgedoc), with hedgedoc listening on port 3000; data is kept in named volumes.",
  "pinnedTag": "16-alpine",
  "licenseUrl": "https://github.com/hedgedoc/hedgedoc/blob/develop/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "16-alpine",
      "ports": [],
      "volumes": [
        "hedgedoc_db_data -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "hedgedoc",
      "image": "quay.io/hedgedoc/hedgedoc",
      "tag": "1.9.9",
      "ports": [
        3000
      ],
      "volumes": [
        "hedgedoc_uploads -> /hedgedoc/public/uploads"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "generated"
    },
    {
      "service": "hedgedoc",
      "name": "CMD_DB_URL",
      "kind": "generated"
    },
    {
      "service": "hedgedoc",
      "name": "CMD_DOMAIN",
      "kind": "preset"
    },
    {
      "service": "hedgedoc",
      "name": "CMD_SESSION_SECRET",
      "kind": "generated"
    },
    {
      "service": "hedgedoc",
      "name": "CMD_URL_ADDPORT",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy hedgedoc --name my-hedgedoc",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/hedgedoc/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy hedgedoc --name my-hedgedoc"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/hedgedoc/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
