{
  "manifest_version": "1.0.0",
  "template": {
    "id": "16aecd6b-dda5-4b3e-b016-4a6ba8d66609",
    "slug": "excalidraw-update",
    "name": "Excalidraw - Collaborative Diagram Whiteboard [Updated]",
    "description": "Collaborative virtual whiteboard for sketching hand-drawn style diagrams.",
    "url": "https://railway.com/deploy/excalidraw-update",
    "upstream": {
      "image": "excalidraw/excalidraw-room:latest"
    }
  },
  "services": [
    {
      "name": "excalidraw-room",
      "source": {
        "image": "excalidraw/excalidraw-room:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "excalidraw",
      "source": {
        "image": "excalidraw/excalidraw:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "excalidraw-room",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3002"
    },
    {
      "key": "CORS_ORIGIN",
      "service": "excalidraw-room",
      "description": "Provide a value for CORS_ORIGIN.",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "PORT",
      "service": "excalidraw",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "NODE_ENV",
      "service": "excalidraw",
      "description": "Provide a value for NODE_ENV.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "VITE_APP_PLUS_LP",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_PLUS_LP.",
      "secret": false,
      "strategy": "default",
      "default": "https://plus.excalidraw.com"
    },
    {
      "key": "VITE_APP_PLUS_APP",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_PLUS_APP.",
      "secret": false,
      "strategy": "default",
      "default": "https://app.excalidraw.com"
    },
    {
      "key": "VITE_APP_AI_BACKEND",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_AI_BACKEND.",
      "secret": false,
      "strategy": "default",
      "default": "https://oss-ai.excalidraw.com"
    },
    {
      "key": "VITE_APP_LIBRARY_URL",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_LIBRARY_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://libraries.excalidraw.com"
    },
    {
      "key": "VITE_APP_WS_SERVER_URL",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_WS_SERVER_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "VITE_APP_LIBRARY_BACKEND",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_LIBRARY_BACKEND.",
      "secret": false,
      "strategy": "default",
      "default": "https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries"
    },
    {
      "key": "VITE_APP_BACKEND_V2_GET_URL",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_BACKEND_V2_GET_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://json.excalidraw.com/api/v2/"
    },
    {
      "key": "VITE_APP_BACKEND_V2_POST_URL",
      "service": "excalidraw",
      "description": "Provide a value for VITE_APP_BACKEND_V2_POST_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://json.excalidraw.com/api/v2/post/"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "excalidraw-update"
      }
    },
    "cli": "railway deploy --template excalidraw-update",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "16aecd6b-dda5-4b3e-b016-4a6ba8d66609",
            "serializedConfig": {
              "services": {
                "4db01aa6-4f53-4204-af91-afc14b901a00": {
                  "name": "excalidraw-room",
                  "source": {
                    "image": "excalidraw/excalidraw-room:latest"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "3002"
                    },
                    "CORS_ORIGIN": {
                      "defaultValue": "*"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3002": {
                        "port": 3002
                      }
                    }
                  }
                },
                "ee0babce-21b2-40d8-8bf9-71fde491877a": {
                  "name": "excalidraw",
                  "source": {
                    "image": "excalidraw/excalidraw:latest"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "80"
                    },
                    "NODE_ENV": {
                      "defaultValue": "production"
                    },
                    "VITE_APP_PLUS_LP": {
                      "defaultValue": "https://plus.excalidraw.com"
                    },
                    "VITE_APP_PLUS_APP": {
                      "defaultValue": "https://app.excalidraw.com"
                    },
                    "VITE_APP_AI_BACKEND": {
                      "defaultValue": "https://oss-ai.excalidraw.com"
                    },
                    "VITE_APP_LIBRARY_URL": {
                      "defaultValue": "https://libraries.excalidraw.com"
                    },
                    "VITE_APP_WS_SERVER_URL": {
                      "defaultValue": "https://${{excalidraw-room.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "VITE_APP_LIBRARY_BACKEND": {
                      "defaultValue": "https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries"
                    },
                    "VITE_APP_BACKEND_V2_GET_URL": {
                      "defaultValue": "https://json.excalidraw.com/api/v2/"
                    },
                    "VITE_APP_BACKEND_V2_POST_URL": {
                      "defaultValue": "https://json.excalidraw.com/api/v2/post/"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T19:49:17.428Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_ab74fbb0fa8345208a8d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 86,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "excalidraw"
  }
}
