{
  "$schema": "https://blueprints.servus.run/schema/servus-blueprint-v1.schema.json",
  "schemaVersion": "servus-blueprint/v1",
  "id": "vikunja",
  "name": "Vikunja",
  "tagline": "Open-source task lists, Kanban boards, and Gantt timelines",
  "description": "Self-hosted task and project organizer with list, Kanban, table, and Gantt views backed by MariaDB and managed configuration.",
  "category": "project-management",
  "tags": [
    "tasks",
    "kanban",
    "gantt",
    "mariadb"
  ],
  "version": "2026-12-03.1",
  "publisher": "Vikunja (Servus Blueprint)",
  "homepage": "https://vikunja.io",
  "docsUrl": "https://vikunja.io/docs",
  "sourceUrl": "https://kolaente.dev/vikunja/vikunja",
  "license": "AGPL-3.0",
  "setup": "Open the web UI to register the first user account. Registration behavior follows your selected blueprint setting.",
  "inputs": [
    {
      "key": "registrationEnabled",
      "label": "Allow new user registrations",
      "type": "boolean",
      "default": true
    },
    {
      "key": "timezone",
      "label": "Server timezone",
      "type": "text",
      "default": "UTC",
      "group": "advanced"
    }
  ],
  "secrets": [
    {
      "key": "dbPassword",
      "format": "base64url",
      "bytes": 32
    },
    {
      "key": "dbRootPassword",
      "format": "base64url",
      "bytes": 32
    },
    {
      "key": "jwtSecret",
      "format": "hex",
      "bytes": 32
    }
  ],
  "domains": [
    {
      "key": "primary",
      "label": "Application domain",
      "service": "app",
      "port": 3456,
      "primary": true
    }
  ],
  "profiles": [
    {
      "id": "compact",
      "label": "Compact",
      "services": {
        "app": {
          "cpus": 0.5,
          "memoryMb": 256
        },
        "database": {
          "cpus": 0.5,
          "memoryMb": 256
        }
      }
    },
    {
      "id": "standard",
      "label": "Standard",
      "services": {
        "app": {
          "cpus": 1,
          "memoryMb": 512
        },
        "database": {
          "cpus": 1,
          "memoryMb": 512
        }
      }
    },
    {
      "id": "performance",
      "label": "Performance",
      "services": {
        "app": {
          "cpus": 2,
          "memoryMb": 1024
        },
        "database": {
          "cpus": 2,
          "memoryMb": 1024
        }
      }
    }
  ],
  "defaultProfile": "standard",
  "files": [
    {
      "key": "vikunja_config",
      "service": "app",
      "target": "/etc/vikunja/config.yml",
      "mode": 292,
      "content": "service:\n  enableregistration: {{inputs.registrationEnabled|true}}\n  timezone: \"{{inputs.timezone|UTC}}\"\n  enabletaskattachments: true\n  enabletaskcomments: true\n"
    }
  ],
  "volumes": [
    {
      "name": "files"
    },
    {
      "name": "database"
    }
  ],
  "networks": [
    {
      "name": "private",
      "internal": true
    }
  ],
  "services": [
    {
      "name": "app",
      "image": "vikunja/vikunja:0.24.6",
      "restart": "unless-stopped",
      "resources": {
        "cpus": 1,
        "memoryMb": 512
      },
      "environment": {
        "VIKUNJA_SERVICE_PUBLICURL": "{{domains.primary.url|http://localhost:3456}}",
        "VIKUNJA_SERVICE_JWTSECRET": "{{secrets.jwtSecret}}",
        "VIKUNJA_DATABASE_TYPE": "mysql",
        "VIKUNJA_DATABASE_HOST": "database:3306",
        "VIKUNJA_DATABASE_USER": "vikunja",
        "VIKUNJA_DATABASE_PASSWORD": "{{secrets.dbPassword}}",
        "VIKUNJA_DATABASE_DATABASE": "vikunja"
      },
      "volumes": [
        {
          "volume": "files",
          "target": "/app/vikunja/files"
        }
      ],
      "networks": [
        "private"
      ],
      "dependsOn": [
        "database"
      ],
      "expose": [
        3456
      ]
    },
    {
      "name": "database",
      "image": "mariadb:11.4.13",
      "restart": "unless-stopped",
      "resources": {
        "cpus": 1,
        "memoryMb": 512
      },
      "environment": {
        "MARIADB_DATABASE": "vikunja",
        "MARIADB_USER": "vikunja",
        "MARIADB_PASSWORD": "{{secrets.dbPassword}}",
        "MARIADB_ROOT_PASSWORD": "{{secrets.dbRootPassword}}"
      },
      "volumes": [
        {
          "volume": "database",
          "target": "/var/lib/mysql"
        }
      ],
      "networks": [
        "private"
      ]
    }
  ]
}
