{
  "manifest_version": "1.0.0",
  "template": {
    "id": "911fe732-86a0-4c1b-9e34-f66d0718e10a",
    "slug": "kan-boards",
    "name": "Kan | Open-Source Trello Alternative (Kanban Boards for Teams)",
    "description": "Kanban boards, lists and cards for teams, with Trello import",
    "url": "https://railway.com/deploy/kan-boards",
    "upstream": {
      "repo_url": "https://github.com/two-workspaces/kan"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "postgres:17.11-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Kan",
      "source": {
        "repo": "https://github.com/two-workspaces/kan"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "kan"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user",
      "secret": false,
      "strategy": "default",
      "default": "kan"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Auto-generated database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Time for Postgres to shut down cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "Kan",
      "description": "Port Railway routes to - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "S3_REGION",
      "service": "Kan",
      "description": "Bucket region - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "Kan",
      "description": "Bucket for attachments and avatars - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_URL",
      "service": "Kan",
      "description": "Postgres connection - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "KAN_ADMIN_EMAIL",
      "service": "Kan",
      "description": "Email you sign in with - the admin account is created on first boot",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "Kan",
      "description": "Bucket access key - leave as is",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "Kan",
      "description": "Signs sessions - auto-generated",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "KAN_ADMIN_PASSWORD",
      "service": "Kan",
      "description": "Admin password, used on first boot only - change it later in Settings",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NEXT_PUBLIC_BASE_URL",
      "service": "Kan",
      "description": "Public URL of Kan - set it to your custom domain after adding one",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "Kan",
      "description": "Bucket secret key - leave as is",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_DISABLE_SIGN_UP",
      "service": "Kan",
      "description": "Only people you invite can create an account - set to false for open sign-up",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NEXT_PUBLIC_ALLOW_CREDENTIALS",
      "service": "Kan",
      "description": "Sign in with email and password",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NEXT_PUBLIC_AVATAR_BUCKET_NAME",
      "service": "Kan",
      "description": "Bucket for avatars - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_ATTACHMENTS_BUCKET_NAME",
      "service": "Kan",
      "description": "Bucket for card attachments - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kan-boards"
      }
    },
    "cli": "railway deploy --template kan-boards",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "911fe732-86a0-4c1b-9e34-f66d0718e10a",
            "serializedConfig": {
              "buckets": {
                "5c8e1f37-2a94-4d6b-b0e3-7f9a2c4d1e86": {
                  "name": "Files"
                }
              },
              "services": {
                "a2d6f4c8-1e7b-4935-8c0a-6b5e9d3f7a14": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17.11-alpine"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data subdirectory - keeps Postgres happy on Railway volumes",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "kan"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "kan"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time for Postgres to shut down cleanly on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "9f1a3c5e-7b2d-4c68-a0e4-2d8b6f1c9e57": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "e7b3d1a9-6c2f-4e85-9a40-3d1f8b7c5e29": {
                  "icon": "https://raw.githubusercontent.com/two-workspaces/kan/main/icon.png",
                  "name": "Kan",
                  "build": {
                    "dockerfilePath": "Dockerfile"
                  },
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/auth/ok",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/two-workspaces/kan",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes to - leave as is",
                      "defaultValue": "3000"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "Bucket region - leave as is",
                      "defaultValue": "${{Files.REGION}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "Bucket for attachments and avatars - leave as is",
                      "defaultValue": "${{Files.ENDPOINT}}"
                    },
                    "POSTGRES_URL": {
                      "isOptional": false,
                      "description": "Postgres connection - leave as is",
                      "defaultValue": "postgresql://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}"
                    },
                    "KAN_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email you sign in with - the admin account is created on first boot",
                      "defaultValue": "{{KAN_ADMIN_EMAIL}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key - leave as is",
                      "defaultValue": "${{Files.ACCESS_KEY_ID}}"
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Signs sessions - auto-generated",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "KAN_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, used on first boot only - change it later in Settings",
                      "defaultValue": "{{KAN_ADMIN_PASSWORD}}"
                    },
                    "NEXT_PUBLIC_BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL of Kan - set it to your custom domain after adding one",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key - leave as is",
                      "defaultValue": "${{Files.SECRET_ACCESS_KEY}}"
                    },
                    "NEXT_PUBLIC_DISABLE_SIGN_UP": {
                      "isOptional": false,
                      "description": "Only people you invite can create an account - set to false for open sign-up",
                      "defaultValue": "true"
                    },
                    "NEXT_PUBLIC_ALLOW_CREDENTIALS": {
                      "isOptional": false,
                      "description": "Sign in with email and password",
                      "defaultValue": "true"
                    },
                    "NEXT_PUBLIC_AVATAR_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Bucket for avatars - leave as is",
                      "defaultValue": "${{Files.BUCKET}}"
                    },
                    "NEXT_PUBLIC_ATTACHMENTS_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Bucket for card attachments - leave as is",
                      "defaultValue": "${{Files.BUCKET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Kan",
      "method": "GET",
      "path": "/api/auth/ok",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-27T04:14:46.034Z",
  "generator_version": "0.1.0"
}
