{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ccd03cfb-c8e4-4a8f-9fa6-b1c76a74fa7a",
    "slug": "kv-8cr",
    "name": "MatureStack",
    "description": "Template for the MatureStack Boilerplate",
    "url": "https://railway.com/deploy/kv-8cr",
    "upstream": {
      "repo_url": "https://github.com/MatureStack/maturestack-frontend"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "MongoDB",
      "source": {
        "image": "mongo:7"
      },
      "needs_volume": true,
      "volume_mount_path": "/data/db",
      "http": false
    },
    {
      "name": "website-frontend",
      "source": {
        "repo": "https://github.com/MatureStack/maturestack-frontend"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "website-backend",
      "source": {
        "repo": "https://github.com/MatureStack/maturestack-backend"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MONGOHOST",
      "service": "MongoDB",
      "description": "MongoDB Host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MONGOPORT",
      "service": "MongoDB",
      "description": "MongoDB Port",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MONGOUSER",
      "service": "MongoDB",
      "description": "MongoDB User",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGO_URL",
      "service": "MongoDB",
      "description": "MongoDB URL",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MONGOPASSWORD",
      "service": "MongoDB",
      "description": "MongoDB Password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGO_PUBLIC_URL",
      "service": "MongoDB",
      "description": "MongoDB Public URL",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MONGO_INITDB_ROOT_PASSWORD",
      "service": "MongoDB",
      "description": "MongoDB Root Password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MONGO_INITDB_ROOT_USERNAME",
      "service": "MongoDB",
      "description": "MongoDB Root Username",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NEXT_PUBLIC_API_URL",
      "service": "website-frontend",
      "description": "Public URL of the Backend API including /api/",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NEXT_PUBLIC_APP_URL",
      "service": "website-frontend",
      "description": "Public URL of this frontend Next.js application",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "URL",
      "service": "website-backend",
      "description": "URL of the Backend API",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PORT",
      "service": "website-backend",
      "description": "Port of the Backend API",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "JWT_SECRET",
      "service": "website-backend",
      "description": "Secret for JWT",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "website-backend",
      "description": "MongoDB Connection URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GOOGLE_CLIENT_ID",
      "service": "website-backend",
      "description": "Google OAuth Client ID",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GOOGLE_CALLBACK_URL",
      "service": "website-backend",
      "description": "Google OAuth Callback URL",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GOOGLE_CLIENT_SECRET",
      "service": "website-backend",
      "description": "Google OAuth Client Secret Key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kv-8cr"
      }
    },
    "cli": "railway deploy --template kv-8cr",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ccd03cfb-c8e4-4a8f-9fa6-b1c76a74fa7a",
            "serializedConfig": {
              "services": {
                "2c4be967-f334-4cb5-92af-84f348026597": {
                  "icon": "https://devicons.railway.app/i/mongodb.svg",
                  "name": "MongoDB",
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "mongo:7"
                  },
                  "variables": {
                    "MONGOHOST": {
                      "isOptional": false,
                      "description": "MongoDB Host",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MONGOPORT": {
                      "isOptional": false,
                      "description": "MongoDB Port",
                      "defaultValue": "{{MONGOPORT}}"
                    },
                    "MONGOUSER": {
                      "isOptional": false,
                      "description": "MongoDB User",
                      "defaultValue": "${{MONGO_INITDB_ROOT_USERNAME}}"
                    },
                    "MONGO_URL": {
                      "isOptional": false,
                      "description": "MongoDB URL",
                      "defaultValue": "{{MONGO_URL}}"
                    },
                    "MONGOPASSWORD": {
                      "isOptional": false,
                      "description": "MongoDB Password",
                      "defaultValue": "${{MONGO_INITDB_ROOT_PASSWORD}}"
                    },
                    "MONGO_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "MongoDB Public URL",
                      "defaultValue": "{{MONGO_PUBLIC_URL}}"
                    },
                    "MONGO_INITDB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "MongoDB Root Password",
                      "defaultValue": "{{MONGO_INITDB_ROOT_PASSWORD}}"
                    },
                    "MONGO_INITDB_ROOT_USERNAME": {
                      "isOptional": false,
                      "description": "MongoDB Root Username",
                      "defaultValue": "{{MONGO_INITDB_ROOT_USERNAME}}"
                    }
                  },
                  "volumeMounts": {
                    "2c4be967-f334-4cb5-92af-84f348026597": {
                      "mountPath": "/data/db"
                    }
                  }
                },
                "77d032db-d5f1-4680-a9fc-2adfaa1ad010": {
                  "icon": null,
                  "name": "website-frontend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/MatureStack/maturestack-frontend",
                    "rootDirectory": null
                  },
                  "variables": {
                    "NEXT_PUBLIC_API_URL": {
                      "isOptional": false,
                      "description": "Public URL of the Backend API including /api/",
                      "defaultValue": "{{NEXT_PUBLIC_API_URL}}"
                    },
                    "NEXT_PUBLIC_APP_URL": {
                      "isOptional": false,
                      "description": "Public URL of this frontend Next.js application",
                      "defaultValue": "{{NEXT_PUBLIC_APP_URL}}"
                    },
                    "NEXT_PUBLIC_POSTHOG_KEY": {
                      "isOptional": true,
                      "description": "PostHog Analytics Key",
                      "defaultValue": ""
                    },
                    "NEXT_PUBLIC_POSTHOG_HOST": {
                      "isOptional": true,
                      "description": "PostHog Analytics Host",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "93b7cae6-33b3-416f-8c51-93bdcd42d88d": {
                  "icon": null,
                  "name": "website-backend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/MatureStack/maturestack-backend",
                    "rootDirectory": null
                  },
                  "variables": {
                    "URL": {
                      "isOptional": false,
                      "description": "URL of the Backend API",
                      "defaultValue": "{{URL}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port of the Backend API",
                      "defaultValue": "${{shared.PORT}}"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "description": "Secret for JWT",
                      "defaultValue": "${{shared.JWT_SECRET}}"
                    },
                    "RESEND_KEY": {
                      "isOptional": true,
                      "description": "Resend API Key",
                      "defaultValue": ""
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "MongoDB Connection URL",
                      "defaultValue": "${{MongoDB.MONGO_URL}}"
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": false,
                      "description": "Google OAuth Client ID",
                      "defaultValue": "{{GOOGLE_CLIENT_ID}}"
                    },
                    "GOOGLE_CALLBACK_URL": {
                      "isOptional": false,
                      "description": "Google OAuth Callback URL",
                      "defaultValue": "{{GOOGLE_CALLBACK_URL}}"
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": false,
                      "description": "Google OAuth Client Secret Key",
                      "defaultValue": "{{GOOGLE_CLIENT_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T04:14:41.730Z",
  "generator_version": "0.1.0"
}
