{
  "id": "wikijs",
  "name": "Wiki.js",
  "slogan": "A modern wiki with Markdown and visual editing, page permissions and full-text search, backed by Postgres.",
  "category": "Productivity",
  "categorySlug": "productivity",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0",
    "class": "network-copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install wikijs --name my-wikijs",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/wikijs/",
  "docsUrl": "https://docs.requarks.io",
  "sourceRepo": "https://github.com/requarks/wiki",
  "markdownUrl": "https://levelrail.com/templates/wikijs.md",
  "jsonUrl": "https://levelrail.com/templates/wikijs.json",
  "indexable": true,
  "description": "A modern wiki with Markdown and visual editing, page permissions and full-text search, backed by Postgres.",
  "pinnedTag": "16-alpine",
  "licenseUrl": "https://github.com/requarks/wiki/blob/scarlett/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "16-alpine",
      "ports": [],
      "volumes": [
        "pgdata -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "wiki",
      "image": "ghcr.io/requarks/wiki",
      "tag": "2",
      "ports": [
        3000
      ],
      "volumes": []
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "preset"
    },
    {
      "service": "wiki",
      "name": "DB_HOST",
      "kind": "preset"
    },
    {
      "service": "wiki",
      "name": "DB_NAME",
      "kind": "preset"
    },
    {
      "service": "wiki",
      "name": "DB_PASS",
      "kind": "generated"
    },
    {
      "service": "wiki",
      "name": "DB_PORT",
      "kind": "preset"
    },
    {
      "service": "wiki",
      "name": "DB_TYPE",
      "kind": "preset"
    },
    {
      "service": "wiki",
      "name": "DB_USER",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install wikijs --name my-wikijs",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/wikijs/install \\\n  -d '{\n    \"name\": \"my-wikijs\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install wikijs --name my-wikijs",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain db=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/wikijs/install \\\n  -d '{\n    \"name\": \"my-wikijs\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
