{
  "manifest_version": "1.0.0",
  "template": {
    "id": "32eeff2e-34ce-43af-93df-ce74e0b841e7",
    "slug": "tramevia-dock",
    "name": "Tramevia Dock",
    "description": "Unified chat, alerts & overlays for OBS: Twitch, Kick, YouTube, TikTok",
    "url": "https://railway.com/deploy/tramevia-dock",
    "upstream": {
      "image": "ghcr.io/tramevia/tramevia-dock:1.3.0"
    }
  },
  "services": [
    {
      "name": "tramevia-dock",
      "source": {
        "image": "ghcr.io/tramevia/tramevia-dock:1.3.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "tramevia-dock",
      "description": "Port the app listens on. Keep 8787.",
      "secret": false,
      "strategy": "default",
      "default": "8787"
    },
    {
      "key": "TOKEN_KEY",
      "service": "tramevia-dock",
      "description": "Encryption key for connected accounts, generated automatically. Keep it.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "tramevia-dock",
      "description": "Mot de passe du tableau de bord (12 caractères minimum) / Dashboard password (12+ characters)",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "tramevia-dock",
      "description": "Lets the app write to the /data volume. Keep 0.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tramevia-dock"
      }
    },
    "cli": "railway deploy --template tramevia-dock",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "32eeff2e-34ce-43af-93df-ce74e0b841e7",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1fb34a3b-b465-4e87-88cd-95823e4a2685": {
                  "icon": null,
                  "name": "tramevia-dock",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/tramevia/tramevia-dock:1.3.0",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 1,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 2,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 3,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 4,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 5,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 6,
                          "endHour": 6,
                          "startHour": 2
                        }
                      ]
                    }
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the app listens on. Keep 8787.",
                      "defaultValue": "8787"
                    },
                    "TOKEN_KEY": {
                      "isOptional": false,
                      "description": "Encryption key for connected accounts, generated automatically. Keep it.",
                      "defaultValue": "{{TOKEN_KEY}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Mot de passe du tableau de bord (12 caractères minimum) / Dashboard password (12+ characters)",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Lets the app write to the /data volume. Keep 0.",
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8787": {
                        "port": 8787
                      }
                    }
                  },
                  "volumeMounts": {
                    "1fb34a3b-b465-4e87-88cd-95823e4a2685": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "tramevia-dock",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-15T16:14:49.460Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-15T13:12:21.859Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_fa7db5c87eb44e3e8e0a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 17,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "tramevia-dock"
  }
}
