{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d9171901-7ff4-44db-92d1-ac46a85fac1d",
    "slug": "planka-kanban",
    "name": "Planka",
    "description": "Kanban board for planning work on cards you drag between lists",
    "url": "https://railway.com/deploy/planka-kanban",
    "upstream": {
      "image": "ghcr.io/plankanban/planka:latest"
    }
  },
  "services": [
    {
      "name": "planka",
      "source": {
        "image": "ghcr.io/plankanban/planka:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "planka",
      "description": "HTTP port the app listens on",
      "secret": false,
      "strategy": "default",
      "default": "1337"
    },
    {
      "key": "BASE_URL",
      "service": "planka",
      "description": "Public URL and allowed browser origin",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_BUCKET",
      "service": "planka",
      "description": "Object storage bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "planka",
      "description": "Object storage region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "planka",
      "description": "Access token signing key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "planka",
      "description": "Object storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TRUST_PROXY",
      "service": "planka",
      "description": "Read client IP and scheme from proxy headers",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "planka",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "planka",
      "description": "Object storage access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DEFAULT_ADMIN_NAME",
      "service": "planka",
      "description": "First administrator's display name",
      "secret": false,
      "strategy": "default",
      "default": "Planka Admin"
    },
    {
      "key": "DEFAULT_ADMIN_EMAIL",
      "service": "planka",
      "description": "First administrator's email",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "planka",
      "description": "Use path-style bucket addressing",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OUTGOING_BLOCKED_IPS",
      "service": "planka",
      "description": "SSRF guard by address",
      "secret": false,
      "strategy": "default",
      "default": "10.0.0.0/8,100.64.0.0/10,169.254.0.0/16,172.16.0.0/12,192.168.0.0/16,127.0.0.0/8,fd00::/8"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "planka",
      "description": "Object storage secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DEFAULT_ADMIN_PASSWORD",
      "service": "planka",
      "description": "First administrator's password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DEFAULT_ADMIN_USERNAME",
      "service": "planka",
      "description": "First administrator's username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "OUTGOING_BLOCKED_HOSTS",
      "service": "planka",
      "description": "SSRF guard for outbound requests",
      "secret": false,
      "strategy": "default",
      "default": "localhost,.railway.internal,.railway.app"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "planka",
      "description": "Clean WebSocket shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "planka-kanban"
      }
    },
    "cli": "railway deploy --template planka-kanban",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d9171901-7ff4-44db-92d1-ac46a85fac1d",
            "serializedConfig": {
              "buckets": {
                "f7e2ae4a-cc7f-47ec-b5aa-adf505f1bfaf": {
                  "name": "planka-uploads"
                }
              },
              "services": {
                "115d62b6-b996-431a-9942-0359f44e8272": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/planka.svg",
                  "name": "planka",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/bootstrap",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/plankanban/planka:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port the app listens on",
                      "defaultValue": "1337"
                    },
                    "BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL and allowed browser origin",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Object storage bucket name",
                      "defaultValue": "${{planka-uploads.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "Object storage region",
                      "defaultValue": "${{planka-uploads.REGION}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Access token signing key",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "Object storage endpoint",
                      "defaultValue": "${{planka-uploads.ENDPOINT}}"
                    },
                    "TRUST_PROXY": {
                      "isOptional": true,
                      "description": "Read client IP and scheme from proxy headers",
                      "defaultValue": "true"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Object storage access key",
                      "defaultValue": "${{planka-uploads.ACCESS_KEY_ID}}"
                    },
                    "DEFAULT_ADMIN_NAME": {
                      "isOptional": false,
                      "description": "First administrator's display name",
                      "defaultValue": "Planka Admin"
                    },
                    "DEFAULT_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "First administrator's email",
                      "defaultValue": "admin@example.com"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "isOptional": false,
                      "description": "Use path-style bucket addressing",
                      "defaultValue": "true"
                    },
                    "OUTGOING_BLOCKED_IPS": {
                      "isOptional": true,
                      "description": "SSRF guard by address",
                      "defaultValue": "10.0.0.0/8,100.64.0.0/10,169.254.0.0/16,172.16.0.0/12,192.168.0.0/16,127.0.0.0/8,fd00::/8"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Object storage secret key",
                      "defaultValue": "${{planka-uploads.SECRET_ACCESS_KEY}}"
                    },
                    "DEFAULT_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First administrator's password",
                      "defaultValue": "{{DEFAULT_ADMIN_PASSWORD}}"
                    },
                    "DEFAULT_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First administrator's username",
                      "defaultValue": "admin"
                    },
                    "OUTGOING_BLOCKED_HOSTS": {
                      "isOptional": true,
                      "description": "SSRF guard for outbound requests",
                      "defaultValue": "localhost,.railway.internal,.railway.app"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Clean WebSocket shutdown window",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:1337": {
                        "port": 1337
                      }
                    }
                  }
                },
                "1615243c-1040-4cdc-a161-f162d46f6893": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "1615243c-1040-4cdc-a161-f162d46f6893": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "planka",
      "method": "GET",
      "path": "/api/bootstrap",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-23T16:14:58.907Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T19:32:47.849Z",
  "success_rate_30d": 0.1429,
  "validation": {
    "last_run_id": "run_3ec874a6961d467d95b8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 49
  }
}
