{
  "manifest_version": "1.0.0",
  "template": {
    "id": "60df14e4-960e-4f48-9030-04f1adbfe214",
    "slug": "matrix-synapse-with-mas",
    "name": "Matrix Synapse with MAS",
    "description": "Matrix messaging with Synapse, MAS authentication, and Element Web.",
    "url": "https://railway.com/deploy/matrix-synapse-with-mas",
    "upstream": {
      "repo_url": "https://github.com/orenaksakal/railway-templates"
    }
  },
  "services": [
    {
      "name": "synapse-db",
      "source": {
        "image": "postgres:17@sha256:67f41722b7a8cbdb868a44a4995c846eddfdc2973bccb291ce937dce88ad5675"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "matrix",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "mas-db",
      "source": {
        "image": "postgres:17@sha256:67f41722b7a8cbdb868a44a4995c846eddfdc2973bccb291ce937dce88ad5675"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "element",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "mas",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "synapse",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "synapse-db",
      "description": "PostgreSQL data directory within the persistent volume. Do not change on an existing database.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "synapse-db",
      "description": "Initial PostgreSQL database name, or the matching database selected by the application.",
      "secret": false,
      "strategy": "default",
      "default": "synapse"
    },
    {
      "key": "DATABASE_URL",
      "service": "synapse-db",
      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "synapse-db",
      "description": "PostgreSQL initialization user, or the matching connection user for the private database.",
      "secret": false,
      "strategy": "default",
      "default": "synapse"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "synapse-db",
      "description": "PostgreSQL password. Generated for the database and referenced by dependent services; keep private.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "POSTGRES_INITDB_ARGS",
      "service": "synapse-db",
      "description": "Initialization options applied only to an empty database volume. Keep locale and encoding compatible with the application.",
      "secret": false,
      "strategy": "default",
      "default": "--encoding=UTF8 --locale=C"
    },
    {
      "key": "PORT",
      "service": "matrix",
      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MAS_HOST",
      "service": "matrix",
      "description": "Mas host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PUBLIC_HOST",
      "service": "matrix",
      "description": "Public host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SYNAPSE_HOST",
      "service": "matrix",
      "description": "Synapse host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "matrix",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/matrix/Gateway.Dockerfile"
    },
    {
      "key": "PGDATA",
      "service": "mas-db",
      "description": "PostgreSQL data directory within the persistent volume. Do not change on an existing database.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "mas-db",
      "description": "Initial PostgreSQL database name, or the matching database selected by the application.",
      "secret": false,
      "strategy": "default",
      "default": "mas"
    },
    {
      "key": "DATABASE_URL",
      "service": "mas-db",
      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "mas-db",
      "description": "PostgreSQL initialization user, or the matching connection user for the private database.",
      "secret": false,
      "strategy": "default",
      "default": "mas"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "mas-db",
      "description": "PostgreSQL password. Generated for the database and referenced by dependent services; keep private.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "element",
      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "SERVER_NAME",
      "service": "element",
      "description": "Server name resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "HOMESERVER_URL",
      "service": "element",
      "description": "Homeserver url resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "element",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/matrix/Element.Dockerfile"
    },
    {
      "key": "PUBLIC_URL",
      "service": "mas",
      "description": "Public url resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SERVER_NAME",
      "service": "mas",
      "description": "Server name resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYNAPSE_URL",
      "service": "mas",
      "description": "Synapse url resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "mas",
      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MATRIX_SHARED_SECRET",
      "service": "mas",
      "description": "Matrix shared secret resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REGISTRATION_ENABLED",
      "service": "mas",
      "description": "Self-service registration stays closed. Create users with the MAS CLI, or deliberately enable registration for onboarding.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "mas",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/matrix/Mas.Dockerfile"
    },
    {
      "key": "DB_HOST",
      "service": "synapse",
      "description": "Db host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_USER",
      "service": "synapse",
      "description": "Db user for synapse. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "synapse"
    },
    {
      "key": "MAS_URL",
      "service": "synapse",
      "description": "Mas url resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PUBLIC_URL",
      "service": "synapse",
      "description": "Public url resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_PASSWORD",
      "service": "synapse",
      "description": "Db password resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SYNAPSE_SERVER_NAME",
      "service": "synapse",
      "description": "Immutable Matrix server name. Choose your final domain before first deployment; it cannot be renamed later.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MATRIX_SHARED_SECRET",
      "service": "synapse",
      "description": "Generated matrix shared secret. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SYNAPSE_REPORT_STATS",
      "service": "synapse",
      "description": "Synapse report stats for synapse. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "no"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "synapse",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/matrix/Synapse.Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "matrix-synapse-with-mas"
      }
    },
    "cli": "railway deploy --template matrix-synapse-with-mas",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "60df14e4-960e-4f48-9030-04f1adbfe214",
            "serializedConfig": {
              "services": {
                "02062a18-bb5f-5faf-9774-1b188cf7a959": {
                  "name": "synapse-db",
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17@sha256:67f41722b7a8cbdb868a44a4995c846eddfdc2973bccb291ce937dce88ad5675"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "PostgreSQL data directory within the persistent volume. Do not change on an existing database.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Initial PostgreSQL database name, or the matching database selected by the application.",
                      "defaultValue": "synapse"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
                      "defaultValue": "postgresql://synapse:${{synapse-db.POSTGRES_PASSWORD}}@${{synapse-db.RAILWAY_PRIVATE_DOMAIN}}:5432/synapse"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL initialization user, or the matching connection user for the private database.",
                      "defaultValue": "synapse"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password. Generated for the database and referenced by dependent services; keep private.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_INITDB_ARGS": {
                      "isOptional": false,
                      "description": "Initialization options applied only to an empty database volume. Keep locale and encoding compatible with the application.",
                      "defaultValue": "--encoding=UTF8 --locale=C"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "f65b267f-c247-571a-b485-ca69f8fd1ecc": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "16aebd4e-f1f9-5931-bf6d-5fb98ca77e44": {
                  "name": "matrix",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/matrix/Gateway.Dockerfile"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/remaining-template-drafts"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
                      "defaultValue": "8080"
                    },
                    "MAS_HOST": {
                      "isOptional": false,
                      "description": "Mas host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{mas.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PUBLIC_HOST": {
                      "isOptional": false,
                      "description": "Public host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{matrix.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SYNAPSE_HOST": {
                      "isOptional": false,
                      "description": "Synapse host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{synapse.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/matrix/Gateway.Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "362f909b-bebd-5944-bf9c-994a5a45674c": {
                  "name": "mas-db",
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17@sha256:67f41722b7a8cbdb868a44a4995c846eddfdc2973bccb291ce937dce88ad5675"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "PostgreSQL data directory within the persistent volume. Do not change on an existing database.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Initial PostgreSQL database name, or the matching database selected by the application.",
                      "defaultValue": "mas"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
                      "defaultValue": "postgresql://mas:${{mas-db.POSTGRES_PASSWORD}}@${{mas-db.RAILWAY_PRIVATE_DOMAIN}}:5432/mas"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL initialization user, or the matching connection user for the private database.",
                      "defaultValue": "mas"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password. Generated for the database and referenced by dependent services; keep private.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "10844e8a-836a-5f68-ad85-68f9ef47d067": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "7c995604-16e7-5c84-aa37-b32861b632c7": {
                  "name": "element",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/matrix/Element.Dockerfile"
                  },
                  "deploy": {
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/remaining-template-drafts"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
                      "defaultValue": "80"
                    },
                    "SERVER_NAME": {
                      "isOptional": false,
                      "description": "Server name resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{synapse.SYNAPSE_SERVER_NAME}}"
                    },
                    "HOMESERVER_URL": {
                      "isOptional": false,
                      "description": "Homeserver url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "https://${{matrix.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/matrix/Element.Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                },
                "9418633f-0c7f-568a-8764-e619ef5c7d27": {
                  "name": "mas",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/matrix/Mas.Dockerfile"
                  },
                  "deploy": {
                    "requiredMountPath": "/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/remaining-template-drafts"
                  },
                  "variables": {
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "https://${{mas.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SERVER_NAME": {
                      "isOptional": false,
                      "description": "Server name resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{synapse.SYNAPSE_SERVER_NAME}}"
                    },
                    "SYNAPSE_URL": {
                      "isOptional": false,
                      "description": "Synapse url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "http://${{synapse.RAILWAY_PRIVATE_DOMAIN}}:8008"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
                      "defaultValue": "${{mas-db.DATABASE_URL}}"
                    },
                    "MATRIX_SHARED_SECRET": {
                      "isOptional": false,
                      "description": "Matrix shared secret resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{synapse.MATRIX_SHARED_SECRET}}"
                    },
                    "REGISTRATION_ENABLED": {
                      "isOptional": false,
                      "description": "Self-service registration stays closed. Create users with the MAS CLI, or deliberately enable registration for onboarding.",
                      "defaultValue": "false"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/matrix/Mas.Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "3178c3c5-843e-585f-a639-2ee999b888e4": {
                      "mountPath": "/data"
                    }
                  }
                },
                "ba1b2543-a549-5ea0-bf66-58dcac35b85e": {
                  "name": "synapse",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/matrix/Synapse.Dockerfile"
                  },
                  "deploy": {
                    "requiredMountPath": "/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/remaining-template-drafts"
                  },
                  "variables": {
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "Db host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{synapse-db.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_USER": {
                      "isOptional": false,
                      "description": "Db user for synapse. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "synapse"
                    },
                    "MAS_URL": {
                      "isOptional": false,
                      "description": "Mas url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "http://${{mas.RAILWAY_PRIVATE_DOMAIN}}:8080/"
                    },
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "https://${{matrix.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Db password resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{synapse-db.POSTGRES_PASSWORD}}"
                    },
                    "SYNAPSE_SERVER_NAME": {
                      "isOptional": false,
                      "description": "Immutable Matrix server name. Choose your final domain before first deployment; it cannot be renamed later.",
                      "defaultValue": "${{matrix.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MATRIX_SHARED_SECRET": {
                      "isOptional": false,
                      "description": "Generated matrix shared secret. Keep private and preserve with backups.",
                      "defaultValue": "{{MATRIX_SHARED_SECRET}}"
                    },
                    "SYNAPSE_REPORT_STATS": {
                      "isOptional": false,
                      "description": "Synapse report stats for synapse. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "no"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/matrix/Synapse.Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "29302a3d-0464-550b-bfd4-68eb5388b621": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "matrix",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 6,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T05:54:19.399Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T05:58:13.562Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_defc84d137ce42efb71d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 128,
    "typical_build_seconds": 20,
    "typical_start_seconds": 0,
    "slowest_service": "element"
  }
}
