{
  "manifest_version": "1.0.0",
  "template": {
    "id": "aa55bbd0-45d9-416f-93e5-990377644d5c",
    "slug": "sharpmush-stable",
    "name": "SharpMUSH (Stable)",
    "description": "Deployment Template for a SharpMUSH Server (Stable)",
    "url": "https://railway.com/deploy/sharpmush-stable",
    "upstream": {
      "image": "sharpmush/sharpmush-edge:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "edge",
      "source": {
        "image": "sharpmush/sharpmush-edge:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        4201
      ],
      "http": true
    },
    {
      "name": "renderer",
      "source": {
        "image": "sharpmush/sharpmush-renderer:latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "server",
      "source": {
        "image": "sharpmush/sharpmush-server:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "edge",
      "description": "HTTP Port",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "Rendering__Address",
      "service": "edge",
      "description": "Port and Location of Renderer",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SHARPMUSH_SERVER_ADDRESS",
      "service": "edge",
      "description": "Port and Location of the main Server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SHARPMUSH_TRUSTED_PROXIES",
      "service": "edge",
      "description": "Trusted Proxies",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0/0 ::/0"
    },
    {
      "key": "Rendering__Address",
      "service": "renderer",
      "description": "Port Address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "server",
      "description": "Web Port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "NATS_URL",
      "service": "server",
      "description": "NATS Message Queue Address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "Wiki__AssetRoot",
      "service": "server",
      "description": "Wiki Assets (Images etc)",
      "secret": false,
      "strategy": "default",
      "default": "/data/wiki-assets"
    },
    {
      "key": "SHARPMUSH_BACKUP_KEEP",
      "service": "server",
      "description": "How many SharpMUSH Backups to keep",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "SHARPMUSH_BACKUP_PATH",
      "service": "server",
      "description": "Location for Local Server Backups",
      "secret": false,
      "strategy": "default",
      "default": "/data/backup"
    },
    {
      "key": "SHARPMUSH_LIGHTNING_PATH",
      "service": "server",
      "description": "LMDB Data Location (server data)",
      "secret": false,
      "strategy": "default",
      "default": "/data/lightning"
    },
    {
      "key": "SHARPMUSH_LIGHTNING_SYNC",
      "service": "server",
      "description": "Sync Type for LMDB",
      "secret": false,
      "strategy": "default",
      "default": "periodic"
    },
    {
      "key": "SHARPMUSH_BACKUP_INTERVAL",
      "service": "server",
      "description": "How often LMDB does a local backup",
      "secret": false,
      "strategy": "default",
      "default": "6h"
    },
    {
      "key": "ForwardedHeaders__KnownNetworks__0",
      "service": "server",
      "description": "Forwarded Headers",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0/0"
    },
    {
      "key": "ForwardedHeaders__KnownNetworks__1",
      "service": "server",
      "description": "Forwarded Headers #2",
      "secret": false,
      "strategy": "default",
      "default": "::/0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "sharpmush-stable"
      }
    },
    "cli": "railway deploy --template sharpmush-stable",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "aa55bbd0-45d9-416f-93e5-990377644d5c",
            "serializedConfig": {
              "services": {
                "2201c448-4dec-48db-8624-d0da2f47f285": {
                  "icon": "https://raw.githubusercontent.com/SharpMUSH/SharpMUSH/refs/heads/main/Solution%20Files/Logo.svg",
                  "name": "edge",
                  "deploy": {
                    "healthcheckPath": ""
                  },
                  "source": {
                    "image": "sharpmush/sharpmush-edge:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP Port",
                      "defaultValue": "8000"
                    },
                    "Rendering__Address": {
                      "isOptional": false,
                      "description": "Port and Location of Renderer",
                      "defaultValue": "http://${{renderer.RAILWAY_PRIVATE_DOMAIN}}:5100"
                    },
                    "SHARPMUSH_SERVER_ADDRESS": {
                      "isOptional": false,
                      "description": "Port and Location of the main Server",
                      "defaultValue": "${{server.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "SHARPMUSH_TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Trusted Proxies",
                      "defaultValue": "0.0.0.0/0 ::/0"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "4201": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "2201c448-4dec-48db-8624-d0da2f47f285": {
                      "mountPath": "/data"
                    }
                  }
                },
                "7658cd10-f1eb-4367-8577-a2e7a2ba1c7c": {
                  "icon": "https://raw.githubusercontent.com/SharpMUSH/SharpMUSH/refs/heads/main/Solution%20Files/Logo.svg",
                  "name": "renderer",
                  "source": {
                    "image": "sharpmush/sharpmush-renderer:latest"
                  },
                  "variables": {
                    "Rendering__Address": {
                      "isOptional": false,
                      "description": "Port Address",
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:5100"
                    }
                  }
                },
                "802ab446-0cb1-49a8-93c3-941e0f31920d": {
                  "icon": "https://raw.githubusercontent.com/SharpMUSH/SharpMUSH/refs/heads/main/Solution%20Files/Logo.svg",
                  "name": "server",
                  "deploy": {
                    "healthcheckPath": ""
                  },
                  "source": {
                    "image": "sharpmush/sharpmush-server:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Web Port",
                      "defaultValue": "8080"
                    },
                    "NATS_URL": {
                      "isOptional": false,
                      "description": "NATS Message Queue Address",
                      "defaultValue": "nats://${{edge.RAILWAY_PRIVATE_DOMAIN}}:4222"
                    },
                    "Wiki__AssetRoot": {
                      "isOptional": false,
                      "description": "Wiki Assets (Images etc)",
                      "defaultValue": "/data/wiki-assets"
                    },
                    "SHARPMUSH_BACKUP_KEEP": {
                      "isOptional": false,
                      "description": "How many SharpMUSH Backups to keep",
                      "defaultValue": "2"
                    },
                    "SHARPMUSH_BACKUP_PATH": {
                      "isOptional": false,
                      "description": "Location for Local Server Backups",
                      "defaultValue": "/data/backup"
                    },
                    "SHARPMUSH_LIGHTNING_PATH": {
                      "isOptional": false,
                      "description": "LMDB Data Location (server data)",
                      "defaultValue": "/data/lightning"
                    },
                    "SHARPMUSH_LIGHTNING_SYNC": {
                      "isOptional": false,
                      "description": "Sync Type for LMDB",
                      "defaultValue": "periodic"
                    },
                    "SHARPMUSH_BACKUP_INTERVAL": {
                      "isOptional": false,
                      "description": "How often LMDB does a local backup",
                      "defaultValue": "6h"
                    },
                    "ForwardedHeaders__KnownNetworks__0": {
                      "isOptional": false,
                      "description": "Forwarded Headers",
                      "defaultValue": "0.0.0.0/0"
                    },
                    "ForwardedHeaders__KnownNetworks__1": {
                      "isOptional": false,
                      "description": "Forwarded Headers #2",
                      "defaultValue": "::/0"
                    }
                  },
                  "volumeMounts": {
                    "802ab446-0cb1-49a8-93c3-941e0f31920d": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-10-27T22:14:55.794Z",
  "generator_version": "0.1.0"
}
